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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa3c
push esi
push edi
lea edi, [ebp - 0xa3c]
mov ecx, 0x28f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x4cfaa8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
add eax, 0x510
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], 0xffffffff
mov al, byte [0x4d1fac]
mov byte [ebp - 0x120], al
push 0xff
push 0
lea ecx, [ebp - 0x11f]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea edx, [ebp - 0x1a8]
mov dword [ebp - 0x5d0], edx
mov eax, dword [ebp - 0x5d0]
mov dword [ebp - 0x5d4], eax
mov dword [ebp - 0x9e8], 0
mov ecx, 4
imul edx, ecx, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0x528]
mov dword [ebp - 0x9ec], ecx
mov dword [ebp - 0x9f4], 0
xor edx, edx
mov word [ebp - 0x9fc], dx
xor eax, eax
mov word [ebp - 0xa00], ax
mov byte [ebp - 0xa05], 1
mov dword [ebp - 0xa0c], 0
mov ecx, 4
imul edx, ecx, 0xc
mov eax, dword [ebp - 0x10]
cmp dword [eax + edx + 0x528], 0
je 0x469d30
mov ecx, 4
imul edx, ecx, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx + 0x528]
push ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 1
jbe 0x469d30
mov edx, dword [ebp - 0x9ec]
push edx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0x16
jae 0x469a9d
mov dword [ebp - 0xa2c], 0x16
jmp 0x469ab2
mov eax, dword [ebp - 0x9ec]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [ebp - 0xa2c], eax
mov ecx, dword [ebp - 0xa2c]
mov dword [ebp - 0xa10], ecx
mov edx, dword [ebp - 0x9ec]
mov dword [ebp - 0xa14], edx
mov dword [ebp - 0xa18], 0
mov dword [ebp - 0xa1c], 0
mov dword [ebp - 0xa20], 0
mov esi, esp
push 1
mov eax, dword [ebp - 0xa10]
add eax, 1
push eax
call dword [0x4c0010]
add esp, 8
cmp esi, esp
call fcn.004a9923
mov dword [ebp - 0xa0c], eax
cmp dword [ebp - 0xa0c], 0
jne 0x469b1f
mov eax, 0x1b
jmp 0x46a5b9
mov ecx, dword [ebp - 0x9ec]
movsx edx, byte [ecx]
cmp edx, 0x3a
jne 0x469b3b
mov eax, dword [ebp - 0x9ec]
mov dword [ebp - 0xa18], eax
jmp 0x469ba0
push 0x3a
mov ecx, dword [ebp - 0x9ec]
push ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0xa18], eax
cmp dword [ebp - 0xa18], 0
je 0x469b8a
mov edx, dword [ebp - 0xa18]
sub edx, dword [ebp - 0xa14]
mov esi, esp
push edx
mov eax, dword [ebp - 0x9ec]
push eax
mov ecx, dword [ebp - 0xa0c]
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
add esp, 0xc
cmp esi, esp
call fcn.004a9923
jmp 0x469ba0
mov edx, dword [ebp - 0x9ec]
push edx
mov eax, dword [ebp - 0xa0c]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
add esp, 8
cmp dword [ebp - 0xa18], 0
je 0x469c61
push 0x3a
mov ecx, dword [ebp - 0xa18]
push ecx
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0xa1c], eax
cmp dword [ebp - 0xa1c], 0
je 0x469c61
mov esi, esp
push 0xa
push 0
mov edx, dword [ebp - 0xa1c]
add edx, 1
push edx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
cmp esi, esp
call fcn.004a9923
push eax
call fcn.00441c80
add esp, 4
mov word [ebp - 0x9fc], ax
push 0x2d
mov eax, dword [ebp - 0xa1c]
push eax
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp - 0xa20], eax
cmp dword [ebp - 0xa20], 0
je 0x469c53
mov esi, esp
push 0xa
push 0
mov ecx, dword [ebp - 0xa20]
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.004a9923
push eax
call fcn.00441c80
add esp, 4
mov word [ebp - 0xa00], ax
jmp 0x469c61
mov dx, word [ebp - 0x9fc]
mov word [ebp - 0xa00], dx
movzx eax, word [ebp - 0x9fc]
movzx ecx, word [ebp - 0xa00]
cmp eax, ecx
jle 0x469c8a
xor edx, edx
mov word [ebp - 0xa00], dx
mov ax, word [ebp - 0xa00]
mov word [ebp - 0x9fc], ax
mov ecx, dword [ebp - 0xa0c]
movsx edx, byte [ecx]
test edx, edx
je 0x469d26
push 0x401
lea eax, [ebp - 0x5c8]
push eax
mov ecx, dword [ebp - 0xa0c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x90]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x54]
mov eax, dword [edx + 0x18]
push eax
call fcn.0047cfa0
add esp, 4
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x54]
mov eax, dword [edx + 4]
push eax
call fcn.0047cfc0
add esp, 0x18
mov dword [ebp - 0xa30], eax
cmp dword [ebp - 0xa30], 0
je 0x469d00
cmp dword [ebp - 0xa30], 1
je 0x469d0e
cmp dword [ebp - 0xa30], 2
je 0x469d18
jmp 0x469d24
mov ecx, dword [ebp - 0xa0c]
mov dword [ebp - 0x9e8], ecx
jmp 0x469d24
mov eax, 0x1e
jmp 0x46a5b9
lea edx, [ebp - 0x5c8]
mov dword [ebp - 0x9e8], edx
jmp 0x469d30
mov dword [ebp - 0x9e8], 0
cmp dword [ebp - 0x9e8], 0
jne 0x469e16
mov dword [ebp - 0x1bc], 0x80
mov esi, esp
lea eax, [ebp - 0x1bc]
push eax
mov ecx, dword [ebp - 0x5d0]
push ecx
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0x1a8]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
cmp esi, esp
call fcn.004a9923
test eax, eax
je 0x469dcc
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a9923
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041d3e0
add esp, 8
push eax
push 0x4cb138
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0043e100
add esp, 0xc
mov esi, esp
mov edx, dword [ebp - 0xa0c]
push edx
call dword [0x4c0004]
add esp, 4
cmp esi, esp
call fcn.004a9923
mov eax, 0x1e
jmp 0x46a5b9
mov eax, dword [ebp - 0x5d0]
movzx ecx, word [eax]
mov dword [ebp - 0xa34], ecx
push 0x401
lea edx, [ebp - 0x5c8]
push edx
mov eax, dword [ebp - 0x5d4]
add eax, 4
push eax
mov ecx, dword [ebp - 0x5d0]
movzx edx, word [ecx]
push edx
call fcn.004580c0
add esp, 0x10
lea eax, [ebp - 0x5c8]
mov dword [ebp - 0x9e8], eax
mov byte [ebp - 0xa05], 0
lea ecx, [ebp - 0x9f4]
push ecx
push 0
mov edx, dword [ebp - 0x9e8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042c5c0
add esp, 0x10
mov dword [ebp - 0x9e0], eax
cmp dword [ebp - 0x9e0], 1
jne 0x469e54
lea ecx, [ebp - 0x9f4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0042bae0
add esp, 8
cmp dword [ebp - 0x9f4], 0
je 0x469e80
mov eax, dword [ebp - 0x9f4]
mov ecx, dword [eax]
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x9f4]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0042c860
add esp, 8
jmp 0x469e8a
mov dword [ebp - 0x1b0], 0
cmp dword [ebp - 0x1b0], 0
jne 0x469ece
mov ecx, dword [ebp - 0x9e8]
push ecx
push str.failed_to_resolve_the_address_provided_to_PORT:__s
mov edx, dword [ebp - 0x10]
push edx
call fcn.0043e100
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0xa0c]
push eax
call dword [0x4c0004]
add esp, 4
cmp esi, esp
call fcn.004a9923
mov eax, 0x1e
jmp 0x46a5b9
mov esi, esp
mov ecx, dword [ebp - 0xa0c]
push ecx
call dword [0x4c0004]
add esp, 4
cmp esi, esp
call fcn.004a9923
mov dword [ebp - 0x9e8], 0
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x9e4], 0
mov edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], edx
jmp 0x469f1f
mov eax, dword [ebp - 0x1b4]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1b4], ecx
cmp dword [ebp - 0x1b4], 0
je 0x469f65
lea edx, [ebp - 0x18]
push edx
push 0
mov eax, dword [ebp - 0x1b4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004407a0
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x469f61
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a9923
mov dword [ebp - 0x9e4], eax
jmp 0x469f10
jmp 0x469f65
cmp dword [ebp - 0x1b4], 0
jne 0x469f9d
mov edx, dword [ebp - 0x9e4]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041d3e0
add esp, 8
push eax
push 0x4cb188
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0043e100
add esp, 0xc
mov eax, 0x1e
jmp 0x46a5b9
mov edx, dword [ebp - 0x1b4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x5d0]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x1bc], edx
mov ax, word [ebp - 0x9fc]
mov word [ebp - 0xa04], ax
movzx ecx, word [ebp - 0xa04]
movzx edx, word [ebp - 0xa00]
cmp ecx, edx
jg 0x46a1c3
mov eax, dword [ebp - 0x5d0]
movzx ecx, word [eax]
cmp ecx, 2
jne 0x46a022
mov esi, esp
movzx edx, word [ebp - 0xa04]
push edx
call dword [sym.imp.WS2_32.dll_htons]
cmp esi, esp
call fcn.004a9923
mov ecx, dword [ebp - 0x5d4]
mov word [ecx + 2], ax
mov esi, esp
mov edx, dword [ebp - 0x1bc]
push edx
mov eax, dword [ebp - 0x5d0]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_bind]
cmp esi, esp
call fcn.004a9923
test eax, eax
je 0x46a1aa
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a9923
mov dword [ebp - 0x9e4], eax
movzx edx, byte [ebp - 0xa05]
test edx, edx
je 0x46a14c
cmp dword [ebp - 0x9e4], 0x2741
jne 0x46a14c
mov eax, dword [ebp - 0x9e4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041d3e0
add esp, 8
push eax
movzx edx, word [ebp - 0xa04]
push edx
push str.bind_port_hu__on_non_local_address_failed:__s_n
mov eax, dword [ebp - 0x10]
push eax
call fcn.0043e010
add esp, 0x10
mov dword [ebp - 0x1bc], 0x80
mov esi, esp
lea ecx, [ebp - 0x1bc]
push ecx
mov edx, dword [ebp - 0x5d0]
push edx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 0x1a8]
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
cmp esi, esp
call fcn.004a9923
test eax, eax
je 0x46a132
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a9923
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041d3e0
add esp, 8
push eax
push 0x4cb1cc
mov edx, dword [ebp - 0x10]
push edx
call fcn.0043e100
add esp, 0xc
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004406e0
add esp, 8
mov eax, 0x1e
jmp 0x46a5b9
mov dx, word [ebp - 0x9fc]
mov word [ebp - 0xa04], dx
mov byte [ebp - 0xa05], 0
jmp 0x469fdd
cmp dword [ebp - 0x9e4], 0x2740
je 0x46a1a8
cmp dword [ebp - 0x9e4], 0xd
je 0x46a1a8
mov eax, dword [ebp - 0x9e4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041d3e0
add esp, 8
push eax
movzx edx, word [ebp - 0xa04]
push edx
push str.bind_port_hu__failed:__s
mov eax, dword [ebp - 0x10]
push eax
call fcn.0043e100
add esp, 0x10
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004406e0
add esp, 8
mov eax, 0x1e
jmp 0x46a5b9
jmp 0x46a1ac
jmp 0x46a1c3
mov ax, word [ebp - 0xa04]
add ax, 1
mov word [ebp - 0xa04], ax
jmp 0x469fdd
movzx ecx, word [ebp - 0xa04]
movzx edx, word [ebp - 0xa00]
cmp ecx, edx
jle 0x46a200
push str.bind___failed__we_ran_out_of_ports_
mov eax, dword [ebp - 0x10]
push eax
call fcn.0043e100
add esp, 8
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004406e0
add esp, 8
mov eax, 0x1e
jmp 0x46a5b9
mov dword [ebp - 0x1bc], 0x80
mov esi, esp
lea eax, [ebp - 0x1bc]
push eax
mov ecx, dword [ebp - 0x5d0]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.WS2_32.dll_getsockname]
cmp esi, esp
call fcn.004a9923
test eax, eax
je 0x46a277
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a9923
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041d3e0
add esp, 8
push eax
push str.getsockname___failed:__s
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0043e100
add esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004406e0
add esp, 8
mov eax, 0x1e
jmp 0x46a5b9
mov esi, esp
push 1
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_listen]
cmp esi, esp
call fcn.004a9923
test eax, eax
je 0x46a2d8
mov esi, esp
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp esi, esp
call fcn.004a9923
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.0041d3e0
add esp, 8
push eax
push str.socket_failure:__s
mov eax, dword [ebp - 0x10]
push eax
call fcn.0043e100
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004406e0
add esp, 8
mov eax, 0x1e
jmp 0x46a5b9
push 0x100
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x1b4]
push ecx
call fcn.0042ca00
add esp, 0xc
jmp 0x46a2fe
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
cmp dword [ebp + 0xc], 2
je 0x46a566
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x295]
test ecx, ecx
jne 0x46a31e
cmp dword [ebp + 0xc], 0
jne 0x46a31e
jmp 0x46a2f5
cmp dword [ebp + 0xc], 1
jne 0x46a334
mov edx, dword [ebp - 0x5d0]
movzx eax, word [edx]
cmp eax, 2
je 0x46a334
jmp 0x46a2f5
mov ecx, dword [ebp - 0x5d0]
movzx edx, word [ecx]
mov dword [ebp - 0xa38], edx
cmp dword [ebp - 0xa38], 2
je 0x46a34e
jmp 0x46a371
mov esi, esp
mov eax, dword [ebp - 0x5d4]
movzx ecx, word [eax + 2]
push ecx
call dword [sym.imp.WS2_32.dll_ntohs]
cmp esi, esp
call fcn.004a9923
mov word [ebp - 0xa04], ax
jmp 0x46a373
jmp 0x46a2f5
cmp dword [ebp + 0xc], 0
jne 0x46a434
mov edx, dword [ebp - 0x5d0]
movzx eax, word [edx]
cmp eax, 2
jne 0x46a397
mov dword [ebp - 0xa3c], 1
jmp 0x46a3a1
mov dword [ebp - 0xa3c], 2
movzx ecx, word [ebp - 0xa04]
push ecx
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp - 0xa3c]
push eax
imul ecx, dword [ebp + 0xc], 5
add ecx, str.EPRT
push ecx
push str._s__d_s_hu
mov edx, dword [ebp - 0xc]
push edx
call fcn.00484340
add esp, 0x18
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46a42f
mov eax, dword [ebp - 8]
push eax
call fcn.0041ce10
add esp, 4
push eax
push str.Failure_sending_EPRT_command:__s
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0043e100
add esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004406e0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x6c], 1
push 0x4e6
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00465b30
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x46a5b9
jmp 0x46a566
cmp dword [ebp + 0xc], 1
jne 0x46a561
lea eax, [ebp - 0x120]
mov dword [ebp - 0xa24], eax
lea ecx, [ebp - 0x9d8]
mov dword [ebp - 0xa28], ecx
cmp dword [ebp - 0xa24], 0
je 0x46a4b5
mov edx, dword [ebp - 0xa24]
movsx eax, byte [edx]
test eax, eax
je 0x46a4b5
mov ecx, dword [ebp - 0xa24]
movsx edx, byte [ecx]
cmp edx, 0x2e
jne 0x46a485
mov eax, dword [ebp - 0xa28]
mov byte [eax], 0x2c
jmp 0x46a495
mov ecx, dword [ebp - 0xa28]
mov edx, dword [ebp - 0xa24]
mov al, byte [edx]
mov byte [ecx], al
mov ecx, dword [ebp - 0xa28]
add ecx, 1
mov dword [ebp - 0xa28], ecx
mov edx, dword [ebp - 0xa24]
add edx, 1
mov dword [ebp - 0xa24], edx
jmp 0x46a456
mov eax, dword [ebp - 0xa28]
mov byte [eax], 0
movzx ecx, word [ebp - 0xa04]
and ecx, 0xff
push ecx
movzx edx, word [ebp - 0xa04]
sar edx, 8
push edx
push str.__d__d
push 0x14
mov eax, dword [ebp - 0xa28]
push eax
call fcn.00442260
add esp, 0x14
lea ecx, [ebp - 0x9d8]
push ecx
imul edx, dword [ebp + 0xc], 5
add edx, str.EPRT
push edx
push 0x4cb294
mov eax, dword [ebp - 0xc]
push eax
call fcn.00484340
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46a55f
mov ecx, dword [ebp - 8]
push ecx
call fcn.0041ce10
add esp, 4
push eax
push str.Failure_sending_PORT_command:__s
mov edx, dword [ebp - 0x10]
push edx
call fcn.0043e100
add esp, 0xc
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004406e0
add esp, 8
push 0x501
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00465b30
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x46a5b9
jmp 0x46a566
jmp 0x46a2f5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x6c], ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00468c60
add esp, 4
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx + eax + 0x1a8], edx
mov eax, 1
shl eax, 0
mov ecx, dword [ebp + 8]
mov byte [ecx + eax + 0x28d], 1
push 0x51b
push 0x1c
mov edx, dword [ebp + 8]
push edx
call fcn.00465b30
add esp, 0xc
mov eax, dword [ebp - 8]
push edx
mov ecx, ebp
push eax
lea edx, [0x46a5e8]
call fcn.004a98cf
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a93ad
add esp, 0xa3c
cmp ebp, esp
call fcn.004a9923
mov esp, ebp
pop ebp
ret