Function at 0x463f40
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c0
push esi
push edi
lea edi, [ebp - 0x6c0]
mov ecx, 0x1b0
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4b965c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x1e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x398
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], 0xffffffff
mov al, byte [0x4ba869]
mov byte [ebp - 0x50], al
push 0x2e
push 0
lea ecx, [ebp - 0x4f]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea edx, [ebp - 0xd8]
mov dword [ebp - 0x500], edx
mov eax, dword [ebp - 0x500]
mov dword [ebp - 0x504], eax
mov ecx, dword [ebp - 0x500]
mov dword [ebp - 0x508], ecx
mov dword [ebp - 0x514], 0
mov edx, 4
imul eax, edx, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0x4e4]
mov dword [ebp - 0x518], edx
mov dword [ebp - 0x520], 0
xor eax, eax
mov word [ebp - 0x528], ax
xor ecx, ecx
mov word [ebp - 0x52c], cx
mov byte [ebp - 0x531], 1
mov dword [ebp - 0x640], 0
mov edx, 4
imul eax, edx, 0xc
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax + 0x4e4], 0
je 0x4643d0
mov edx, 4
imul eax, edx, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0x4e4]
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 1
jbe 0x4643d0
mov eax, dword [ebp - 0x518]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0x41
jae 0x464072
mov dword [ebp - 0x6b0], 0x41
jmp 0x464087
mov ecx, dword [ebp - 0x518]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [ebp - 0x6b0], eax
mov edx, dword [ebp - 0x6b0]
mov dword [ebp - 0x644], edx
mov eax, dword [ebp - 0x518]
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x654], 0
mov ecx, dword [ebp - 0x644]
add ecx, 1
mov esi, esp
push ecx
push 1
call dword [0x4ab010]
add esp, 8
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0x640], eax
cmp dword [ebp - 0x640], 0
jne 0x4640f6
mov dword [ebp - 8], 0x1b
jmp 0x464c35
mov edx, dword [ebp - 0x518]
movsx eax, byte [edx]
cmp eax, 0x5b
jne 0x464165
mov ecx, dword [ebp - 0x518]
add ecx, 1
mov dword [ebp - 0x648], ecx
push 0x5d
mov edx, dword [ebp - 0x518]
push edx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x64c], eax
cmp dword [ebp - 0x64c], 0
je 0x464160
mov eax, dword [ebp - 0x64c]
sub eax, dword [ebp - 0x648]
mov esi, esp
push eax
mov ecx, dword [ebp - 0x648]
push ecx
mov edx, dword [ebp - 0x640]
push edx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
add esp, 0xc
cmp esi, esp
call fcn.004a09b1
jmp 0x464246
mov eax, dword [ebp - 0x518]
movsx ecx, byte [eax]
cmp ecx, 0x3a
jne 0x464184
mov edx, dword [ebp - 0x518]
mov dword [ebp - 0x64c], edx
jmp 0x464246
push 0x3a
mov eax, dword [ebp - 0x518]
push eax
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x64c], eax
cmp dword [ebp - 0x64c], 0
je 0x464230
mov ecx, dword [ebp - 0x508]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x518]
push edx
push 0x17
call fcn.00456ce0
add esp, 0xc
cmp eax, 1
jne 0x464201
xor eax, eax
mov word [ebp - 0x52c], ax
mov cx, word [ebp - 0x52c]
mov word [ebp - 0x528], cx
mov edx, dword [ebp - 0x518]
push edx
mov eax, dword [ebp - 0x640]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
add esp, 8
mov dword [ebp - 0x64c], 0
jmp 0x46422e
mov ecx, dword [ebp - 0x64c]
sub ecx, dword [ebp - 0x648]
mov esi, esp
push ecx
mov edx, dword [ebp - 0x518]
push edx
mov eax, dword [ebp - 0x640]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
add esp, 0xc
cmp esi, esp
call fcn.004a09b1
jmp 0x464246
mov ecx, dword [ebp - 0x518]
push ecx
mov edx, dword [ebp - 0x640]
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
add esp, 8
cmp dword [ebp - 0x64c], 0
je 0x464307
push 0x3a
mov eax, dword [ebp - 0x64c]
push eax
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x650], eax
cmp dword [ebp - 0x650], 0
je 0x464307
mov esi, esp
push 0xa
push 0
mov ecx, dword [ebp - 0x650]
add ecx, 1
push ecx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
cmp esi, esp
call fcn.004a09b1
push eax
call fcn.004329b0
add esp, 4
mov word [ebp - 0x528], ax
push 0x2d
mov edx, dword [ebp - 0x650]
push edx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0x654], eax
cmp dword [ebp - 0x654], 0
je 0x4642f9
mov esi, esp
push 0xa
push 0
mov eax, dword [ebp - 0x654]
add eax, 1
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
cmp esi, esp
call fcn.004a09b1
push eax
call fcn.004329b0
add esp, 4
mov word [ebp - 0x52c], ax
jmp 0x464307
mov cx, word [ebp - 0x528]
mov word [ebp - 0x52c], cx
movzx edx, word [ebp - 0x528]
movzx eax, word [ebp - 0x52c]
cmp edx, eax
jle 0x464330
xor ecx, ecx
mov word [ebp - 0x52c], cx
mov dx, word [ebp - 0x52c]
mov word [ebp - 0x528], dx
mov eax, dword [ebp - 0x640]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4643c6
push 0x401
lea edx, [ebp - 0x4f8]
push edx
mov eax, dword [ebp - 0x640]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x464]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x60]
add ecx, 0x10
push ecx
call fcn.00499ea0
add esp, 4
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x60]
mov ecx, dword [eax]
push ecx
call fcn.0049a070
add esp, 0x18
mov dword [ebp - 0x6b4], eax
cmp dword [ebp - 0x6b4], 0
je 0x4643a5
cmp dword [ebp - 0x6b4], 1
je 0x4643b3
cmp dword [ebp - 0x6b4], 2
je 0x4643b8
jmp 0x4643c4
mov edx, dword [ebp - 0x640]
mov dword [ebp - 0x514], edx
jmp 0x4643c4
jmp 0x464c35
lea eax, [ebp - 0x4f8]
mov dword [ebp - 0x514], eax
jmp 0x4643d0
mov dword [ebp - 0x514], 0
cmp dword [ebp - 0x514], 0
jne 0x4644ef
mov dword [ebp - 0xec], 0x80
mov esi, esp
lea ecx, [ebp - 0xec]
push ecx
mov edx, dword [ebp - 0x500]
push edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x140]
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
cmp esi, esp
call fcn.004a09b1
test eax, eax
je 0x464456
push 0x100
lea ecx, [ebp - 0x638]
push ecx
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a09b1
push eax
call fcn.00409790
add esp, 0xc
push eax
push 0x4b3010
mov edx, dword [ebp + 8]
push edx
call fcn.0042e770
add esp, 0xc
jmp 0x464c35
mov eax, dword [ebp - 0x500]
movzx ecx, word [eax]
mov dword [ebp - 0x6b8], ecx
cmp dword [ebp - 0x6b8], 0x17
je 0x464470
jmp 0x4644a0
push 0x401
lea edx, [ebp - 0x4f8]
push edx
mov eax, dword [ebp - 0x508]
add eax, 8
push eax
mov ecx, dword [ebp - 0x500]
movzx edx, word [ecx]
push edx
call fcn.00487e40
add esp, 0x10
mov dword [ebp - 0x658], eax
jmp 0x4644ce
push 0x401
lea eax, [ebp - 0x4f8]
push eax
mov ecx, dword [ebp - 0x504]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x500]
movzx eax, word [edx]
push eax
call fcn.00487e40
add esp, 0x10
mov dword [ebp - 0x658], eax
cmp dword [ebp - 0x658], 0
jne 0x4644dc
jmp 0x464c35
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 0x514], ecx
mov byte [ebp - 0x531], 0
lea edx, [ebp - 0x520]
push edx
push 0
push 0
mov eax, dword [ebp - 0x514]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043dd30
add esp, 0x14
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 1
jne 0x46452f
lea edx, [ebp - 0x520]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041a770
add esp, 8
cmp dword [ebp - 0x520], 0
je 0x46455b
mov ecx, dword [ebp - 0x520]
mov edx, dword [ecx]
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0x520]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043e320
add esp, 8
jmp 0x464565
mov dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0
jne 0x46458b
mov edx, dword [ebp - 0x514]
push edx
push str.failed_to_resolve_the_address_provided_to_PORT:__s
mov eax, dword [ebp + 8]
push eax
call fcn.0042e770
add esp, 0xc
jmp 0x464c35
mov dword [ebp - 0x514], 0
mov dword [ebp - 0x510], 0
mov ecx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], ecx
jmp 0x4645bc
mov edx, dword [ebp - 0xe4]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
je 0x464608
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x46f]
push eax
push 0
mov ecx, dword [ebp - 0xe4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0047e760
add esp, 0x14
test eax, eax
je 0x464604
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0x510], eax
jmp 0x4645ad
jmp 0x464608
cmp dword [ebp - 0xe4], 0
jne 0x464643
push 0x100
lea eax, [ebp - 0x638]
push eax
mov ecx, dword [ebp - 0x510]
push ecx
call fcn.00409790
add esp, 0xc
push eax
push 0x4b3060
mov edx, dword [ebp + 8]
push edx
call fcn.0042e770
add esp, 0xc
jmp 0x464c35
xor eax, eax
jne 0x464643
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x500]
push edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xec], ecx
mov dx, word [ebp - 0x528]
mov word [ebp - 0x530], dx
movzx eax, word [ebp - 0x530]
movzx ecx, word [ebp - 0x52c]
cmp eax, ecx
jg 0x46487e
mov edx, dword [ebp - 0x500]
movzx eax, word [edx]
cmp eax, 2
jne 0x4646ce
mov esi, esp
movzx ecx, word [ebp - 0x530]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
cmp esi, esp
call fcn.004a09b1
mov edx, dword [ebp - 0x504]
mov word [edx + 2], ax
jmp 0x4646ef
mov esi, esp
movzx eax, word [ebp - 0x530]
push eax
call dword [sym.imp.WS2_32.dll_htons]
cmp esi, esp
call fcn.004a09b1
mov ecx, dword [ebp - 0x508]
mov word [ecx + 2], ax
mov esi, esp
mov edx, dword [ebp - 0xec]
push edx
mov eax, dword [ebp - 0x500]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
cmp esi, esp
call fcn.004a09b1
test eax, eax
je 0x464865
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a09b1
mov dword [ebp - 0x510], eax
movzx edx, byte [ebp - 0x531]
test edx, edx
je 0x464814
cmp dword [ebp - 0x510], 0x2741
jne 0x464814
push 0x100
lea eax, [ebp - 0x638]
push eax
mov ecx, dword [ebp - 0x510]
push ecx
call fcn.00409790
add esp, 0xc
push eax
movzx edx, word [ebp - 0x530]
push edx
push str.bind_port_hu__on_non_local_address_failed:__s
mov eax, dword [ebp + 8]
push eax
call fcn.0042e8d0
add esp, 0x10
mov dword [ebp - 0xec], 0x80
mov esi, esp
lea ecx, [ebp - 0xec]
push ecx
mov edx, dword [ebp - 0x500]
push edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x140]
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
cmp esi, esp
call fcn.004a09b1
test eax, eax
je 0x4647fa
push 0x100
lea ecx, [ebp - 0x638]
push ecx
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a09b1
push eax
call fcn.00409790
add esp, 0xc
push eax
push 0x4b30a4
mov edx, dword [ebp + 8]
push edx
call fcn.0042e770
add esp, 0xc
jmp 0x464c35
mov ax, word [ebp - 0x528]
mov word [ebp - 0x530], ax
mov byte [ebp - 0x531], 0
jmp 0x464687
cmp dword [ebp - 0x510], 0x2740
je 0x464863
cmp dword [ebp - 0x510], 0xd
je 0x464863
push 0x100
lea ecx, [ebp - 0x638]
push ecx
mov edx, dword [ebp - 0x510]
push edx
call fcn.00409790
add esp, 0xc
push eax
movzx eax, word [ebp - 0x530]
push eax
push str.bind_port_hu__failed:__s
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042e770
add esp, 0x10
jmp 0x464c35
jmp 0x464867
jmp 0x46487e
mov dx, word [ebp - 0x530]
add dx, 1
mov word [ebp - 0x530], dx
jmp 0x464687
movzx eax, word [ebp - 0x530]
movzx ecx, word [ebp - 0x52c]
cmp eax, ecx
jle 0x4648a6
push str.bind___failed__we_ran_out_of_ports
mov edx, dword [ebp + 8]
push edx
call fcn.0042e770
add esp, 8
jmp 0x464c35
mov dword [ebp - 0xec], 0x80
mov esi, esp
lea eax, [ebp - 0xec]
push eax
mov ecx, dword [ebp - 0x500]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
cmp esi, esp
call fcn.004a09b1
test eax, eax
je 0x464910
push 0x100
lea eax, [ebp - 0x638]
push eax
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a09b1
push eax
call fcn.00409790
add esp, 0xc
push eax
push str.getsockname___failed:__s
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042e770
add esp, 0xc
jmp 0x464c35
xor edx, edx
jne 0x464910
mov esi, esp
push 1
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.WS2_32.dll_listen]
cmp esi, esp
call fcn.004a09b1
test eax, eax
je 0x464968
push 0x100
lea ecx, [ebp - 0x638]
push ecx
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a09b1
push eax
call fcn.00409790
add esp, 0xc
push eax
push str.socket_failure:__s
mov edx, dword [ebp + 8]
push edx
call fcn.0042e770
add esp, 0xc
jmp 0x464c35
xor eax, eax
jne 0x464968
push 0x2f
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0xe4]
push edx
call fcn.0043e560
add esp, 0xc
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x1f2]
test ecx, ecx
jne 0x4649a7
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x1ec]
test eax, eax
je 0x4649a7
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x1f2], 1
jmp 0x4649b2
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
cmp dword [ebp + 0xc], 2
je 0x464bf3
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x1f2]
test ecx, ecx
jne 0x4649d2
cmp dword [ebp + 0xc], 0
jne 0x4649d2
jmp 0x4649a9
cmp dword [ebp + 0xc], 1
jne 0x4649e8
mov edx, dword [ebp - 0x500]
movzx eax, word [edx]
cmp eax, 2
je 0x4649e8
jmp 0x4649a9
mov ecx, dword [ebp - 0x500]
movzx edx, word [ecx]
mov dword [ebp - 0x6bc], edx
cmp dword [ebp - 0x6bc], 2
je 0x464a0b
cmp dword [ebp - 0x6bc], 0x17
je 0x464a2e
jmp 0x464a51
mov esi, esp
mov eax, dword [ebp - 0x504]
movzx ecx, word [eax + 2]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
cmp esi, esp
call fcn.004a09b1
mov word [ebp - 0x530], ax
jmp 0x464a56
mov esi, esp
mov edx, dword [ebp - 0x508]
movzx eax, word [edx + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
cmp esi, esp
call fcn.004a09b1
mov word [ebp - 0x530], ax
jmp 0x464a56
jmp 0x4649a9
cmp dword [ebp + 0xc], 0
jne 0x464ae7
mov ecx, dword [ebp - 0x500]
movzx edx, word [ecx]
cmp edx, 2
jne 0x464a7a
mov dword [ebp - 0x6c0], 1
jmp 0x464a84
mov dword [ebp - 0x6c0], 2
movzx eax, word [ebp - 0x530]
push eax
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x6c0]
push edx
imul eax, dword [ebp + 0xc], 5
add eax, str.EPRT
push eax
push str._s__d_s_hu
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00497c30
add esp, 0x1c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x464ae2
mov eax, dword [ebp - 8]
push eax
call fcn.00408fb0
add esp, 4
push eax
push str.Failure_sending_EPRT_command:__s
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042e770
add esp, 0xc
jmp 0x464c35
jmp 0x464bf3
cmp dword [ebp + 0xc], 1
jne 0x464bee
lea edx, [ebp - 0x50]
mov dword [ebp - 0x6a8], edx
lea eax, [ebp - 0x6a0]
mov dword [ebp - 0x6ac], eax
cmp dword [ebp - 0x6a8], 0
je 0x464b65
mov ecx, dword [ebp - 0x6a8]
movsx edx, byte [ecx]
test edx, edx
je 0x464b65
mov eax, dword [ebp - 0x6a8]
movsx ecx, byte [eax]
cmp ecx, 0x2e
jne 0x464b35
mov edx, dword [ebp - 0x6ac]
mov byte [edx], 0x2c
jmp 0x464b45
mov eax, dword [ebp - 0x6ac]
mov ecx, dword [ebp - 0x6a8]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0x6ac]
add eax, 1
mov dword [ebp - 0x6ac], eax
mov ecx, dword [ebp - 0x6a8]
add ecx, 1
mov dword [ebp - 0x6a8], ecx
jmp 0x464b06
mov edx, dword [ebp - 0x6ac]
mov byte [edx], 0
movzx eax, word [ebp - 0x530]
and eax, 0xff
push eax
movzx ecx, word [ebp - 0x530]
sar ecx, 8
push ecx
push str.__d__d
push 0x14
mov edx, dword [ebp - 0x6ac]
push edx
call fcn.00436270
add esp, 0x14
lea eax, [ebp - 0x6a0]
push eax
imul ecx, dword [ebp + 0xc], 5
add ecx, str.EPRT
push ecx
push 0x4b316c
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00497c30
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x464bec
mov ecx, dword [ebp - 8]
push ecx
call fcn.00408fb0
add esp, 4
push eax
push str.Failure_sending_PORT_command:__s
mov edx, dword [ebp + 8]
push edx
call fcn.0042e770
add esp, 0xc
jmp 0x464c35
jmp 0x464bf3
jmp 0x4649a9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x90], ecx
lea edx, [ebp - 0x18]
push edx
push 1
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0047ee00
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x464c20
jmp 0x464c35
mov dword [ebp - 0x18], 0xffffffff
push 0x1c
mov edx, dword [ebp + 8]
push edx
call fcn.004601b0
add esp, 8
cmp dword [ebp - 8], 0
je 0x464c49
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.004601b0
add esp, 8
cmp dword [ebp - 0x18], 0xffffffff
je 0x464c63
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0047e810
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 0x640]
push ecx
call dword [0x4ab004]
add esp, 4
cmp esi, esp
call fcn.004a09b1
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x464cb0]
call fcn.004a095d
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a039d
add esp, 0x6c0
cmp ebp, esp
call fcn.004a09b1
mov esp, ebp
pop ebp
ret