Function at 0x4df470
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp + 0x40]
cmp ecx, 0x17f
jg 0x4df4a8
cmp ecx, 1
je 0x4df4d6
cmp ecx, 0x100
jne 0x4df4ca
mov edi, 0x20
mov eax, dword [ebp]
cmp eax, 6
jbe 0x4df4f9
jmp case.0x4df4fd.1
cmp ecx, 0x200
je 0x4df4e8
cmp ecx, 0x180
jne 0x4df4ca
mov edi, 0x30
mov eax, dword [ebp]
cmp eax, 6
jbe 0x4df4f9
jmp case.0x4df4fd.1
push str.sha_algo_value_is_unimplemented
push 0xfffffffffffffff2
jmp 0x4dfddc
mov edi, 0x14
mov eax, dword [ebp]
cmp eax, 6
jbe 0x4df4f9
jmp case.0x4df4fd.1
mov edi, 0x40
mov eax, dword [ebp]
cmp eax, 6
ja case.0x4df4fd.1
mov ebx, dword [esp + 0x38]
jmp dword [eax*4 + 0xa5a68c]
mov dword [esp], edi
mov dword [esp + 0xc], edx
mov dword [ebp + 4], 0
mov dword [ebp + 8], 0
mov dword [ebp + 0x78], 0
call fcn.005843e0
mov dword [ebp + 0x60], eax
lea edi, [ebp + 0x64]
push edi
call fcn.004d8200
add esp, 4
call fcn.00587e80
mov dword [ebp + 0x68], eax
call fcn.00587e80
mov dword [ebp + 0x6c], eax
call fcn.00587e80
mov dword [ebp + 0x70], eax
xorps xmm0, xmm0
movups xmmword [ebp + 0x90], xmm0
push ebx
call fcn.00587bd0
add esp, 4
cmp eax, 0x4001
jl 0x4df572
push str.dh_modulus_value_is_too_large
push 0xffffffffffffffde
jmp 0x4dfddc
push dword [ebp + 0x60]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [ebp + 0x68]
push edi
call fcn.004d8210
add esp, 0x18
test eax, eax
je 0x4df59d
push str.dh_key_pair_generation_failed
push 0xfffffffffffffffb
jmp 0x4dfddc
push dword [ebp + 0x68]
call fcn.00587bd0
add esp, 4
lea ecx, [eax + 7]
add eax, 0xe
test ecx, ecx
cmovns eax, ecx
sar eax, 3
add eax, 6
mov dword [ebp + 0x54], eax
push dword [ebp + 0x68]
call fcn.00587bd0
add esp, 4
mov ecx, dword [ebp + 0x54]
test al, 7
je 0x4df5d2
dec ecx
mov dword [ebp + 0x54], ecx
mov edi, dword [esp]
movzx ebx, byte [esp + 0x48]
push esi
push ecx
call dword [esi + 4]
add esp, 8
mov dword [ebp + 4], eax
test eax, eax
je 0x4df835
mov byte [eax], bl
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 0x54]
inc eax
add ecx, 0xfffffffb
push ecx
push eax
call fcn.004e2a30
add esp, 8
push dword [ebp + 0x68]
call fcn.00587bd0
add esp, 4
mov ecx, 5
test al, 7
jne 0x4df623
mov eax, dword [ebp + 4]
mov byte [eax + 5], 0
mov ecx, 6
add ecx, dword [ebp + 4]
push ecx
push dword [ebp + 0x68]
call fcn.005887c0
add esp, 8
mov dword [ebp], 2
push 0
push 0
push dword [ebp + 0x54]
push dword [ebp + 4]
push esi
call fcn.004ef280
add esp, 0x14
mov ebx, eax
cmp eax, 0xffffffdb
je 0x4dfe84
test ebx, ebx
jne 0x4df6fa
mov dword [ebp], 3
cmp dword [esi + 0x54], 0
je 0x4df699
lea eax, [ebp + 0xa0]
push eax
push esi
call fcn.004e4cd0
add esp, 8
mov ebx, 0xffffffdb
cmp eax, 0xffffffdb
je 0x4dfe84
test eax, eax
jle 0x4dfde5
mov dword [esi + 0x54], 0
mov dword [ebp], 4
mov dword [esp], edi
movzx eax, byte [esp + 0x4c]
lea edi, [ebp + 8]
lea ebx, [ebp + 0x58]
lea ecx, [ebp + 0x90]
movzx eax, al
push ecx
push 0
push 0
push 0
push ebx
push edi
push eax
push esi
call fcn.004e4bf0
add esp, 0x20
test eax, eax
je 0x4df6dd
cmp eax, 0xffffffdb
jne 0x4df6ee
mov ebx, 0xffffffdb
jmp 0x4dfe84
mov eax, dword [ebx]
cmp eax, 4
ja 0x4df704
push str.Unexpected_packet_length_DH_SHA
jmp 0x4df4cf
push str.Timed_out_waiting_for_KEX_reply
push 0xfffffffffffffff7
jmp 0x4dfddc
push str.Unable_to_send_KEX_init_message
jmp 0x4dfddb
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
inc ecx
mov dword [esp + 0x18], ecx
lea edi, [esi + 0x70]
mov eax, dword [esi + 0x70]
test eax, eax
je 0x4df725
push esi
push eax
call dword [esi + 0xc]
add esp, 8
lea eax, [esp + 8]
lea ecx, [esp + 0x14]
push eax
push edi
push ecx
push esi
call fcn.004e33b0
add esp, 0x10
test eax, eax
je 0x4df749
push str.Could_not_copy_host_key
push 0xfffffffffffffffa
jmp 0x4dfddc
mov eax, dword [esp + 8]
mov dword [esi + 0x74], eax
lea edi, [esp + 4]
push edi
call fcn.004d6770
add esp, 4
xor ebx, ebx
mov ecx, 0
test eax, eax
je 0x4df79d
push dword [esi + 0x74]
push dword [esi + 0x70]
push dword [esp + 0xc]
call fcn.005b8a50
add esp, 0xc
lea eax, [esi + 0x78]
push 0
push eax
push dword [esp + 0xc]
call fcn.005b8b70
add esp, 0xc
push dword [esp + 4]
call fcn.005b83a0
add esp, 4
mov ecx, 1
mov dword [esi + 0x88], ecx
push edi
call fcn.004d6630
add esp, 4
test eax, eax
je 0x4df7e8
push dword [esi + 0x74]
push dword [esi + 0x70]
push dword [esp + 0xc]
call fcn.005b8a50
add esp, 0xc
lea eax, [esi + 0x8c]
push 0
push eax
push dword [esp + 0xc]
call fcn.005b8b70
add esp, 0xc
push dword [esp + 4]
call fcn.005b83a0
add esp, 4
mov ebx, 1
mov dword [esi + 0xa0], ebx
push edi
call fcn.004d6680
add esp, 4
test eax, eax
je 0x4df841
push dword [esi + 0x74]
push dword [esi + 0x70]
push dword [esp + 0xc]
call fcn.005b8a50
add esp, 0xc
lea eax, [esi + 0xa4]
push 0
push eax
push dword [esp + 0xc]
call fcn.005b8b70
add esp, 0xc
push dword [esp + 4]
call fcn.005b83a0
add esp, 4
mov eax, 1
jmp 0x4df843
push str.Out_of_memory_error
push 0xfffffffffffffffa
jmp 0x4dfddc
xor eax, eax
mov dword [esi + 0xc4], eax
mov eax, dword [esi + 0x68]
lea ebx, [esi + 0x6c]
push ebx
push dword [esi + 0x74]
push dword [esi + 0x70]
push esi
call dword [eax + 8]
add esp, 0x10
test eax, eax
je 0x4df86d
push str.Unable_to_initialize_hostkey_importer_DH_SHA
push 0xfffffffffffffff6
jmp 0x4dfddc
lea eax, [ebp + 0x74]
lea ecx, [ebp + 0x80]
push ecx
push eax
lea edi, [esp + 0x1c]
push edi
call fcn.004e3350
add esp, 0xc
test eax, eax
je 0x4df895
push str.Unable_to_get_DH_SHA_f_value
push 0xfffffffffffffff6
jmp 0x4dfddc
push dword [ebp + 0x6c]
push dword [ebp + 0x80]
push dword [ebp + 0x74]
call fcn.00588240
add esp, 0xc
lea eax, [ebp + 0x7c]
lea ecx, [ebp + 0x88]
push ecx
push eax
push edi
call fcn.004e3350
add esp, 0xc
test eax, eax
je 0x4df8cd
push str.Unable_to_get_DH_SHA_h_sig
push 0xfffffffffffffff6
jmp 0x4dfddc
lea eax, [ebp + 0x64]
push dword [ebp + 0x60]
push dword [esp + 0x3c]
push dword [ebp + 0x6c]
push dword [ebp + 0x70]
push eax
call fcn.004d8260
add esp, 0x14
push dword [ebp + 0x70]
call fcn.00587bd0
add esp, 4
lea ecx, [eax + 7]
add eax, 0xe
test ecx, ecx
cmovns eax, ecx
sar eax, 3
add eax, 5
mov dword [ebp + 0x84], eax
push dword [ebp + 0x70]
call fcn.00587bd0
add esp, 4
mov ecx, dword [ebp + 0x84]
test al, 7
je 0x4df924
dec ecx
mov dword [ebp + 0x84], ecx
mov edi, dword [esp + 0x40]
push esi
push ecx
call dword [esi + 4]
add esp, 8
mov dword [ebp + 0x78], eax
test eax, eax
je 0x4df9f6
mov ecx, dword [ebp + 0x84]
add ecx, 0xfffffffc
push ecx
push eax
call fcn.004e2a30
add esp, 8
push dword [ebp + 0x70]
call fcn.00587bd0
add esp, 4
mov ecx, 4
test al, 7
jne 0x4df96e
mov eax, dword [ebp + 0x78]
mov byte [eax + 4], 0
mov ecx, 5
add ecx, dword [ebp + 0x78]
push ecx
push dword [ebp + 0x70]
call fcn.005887c0
add esp, 8
lea eax, [esp + 0x44]
mov dword [ebp + 0x8c], eax
mov edx, dword [esp + 0x44]
mov ecx, edi
call fcn.004e0400
mov eax, dword [esi + 0x108]
lea ecx, [ebp + 0x10]
test eax, eax
mov dword [esp + 0x20], ebx
je 0x4dfa02
push eax
mov ebx, ecx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
add eax, 0xfffffffe
push eax
push ebx
call fcn.004e2a30
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.004e0460
add esp, 8
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov edi, dword [esi + 0x108]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
add eax, 0xfffffffe
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0xc]
push eax
push edi
mov edi, dword [esp + 0x48]
jmp 0x4dfa2d
push str.Unable_to_allocate_buffer_for_DH_SHA_K
push 0xfffffffffffffffa
jmp 0x4dfddc
push 0x16
push ecx
mov ebx, ecx
call fcn.004e2a30
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.004e0460
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 0x16
push str.SSH_2.0_libssh2_1.11.0
call fcn.004e0460
add esp, 8
push dword [esi + 0xd0]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
push eax
push ebx
call fcn.004e2a30
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.004e0460
add esp, 8
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov edi, dword [esi + 0xd0]
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0xc]
push eax
push edi
mov edi, dword [esp + 0x48]
call fcn.004e0460
add esp, 8
push dword [esi + 0x110]
push ebx
call fcn.004e2a30
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.004e0460
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [esi + 0x110]
push dword [esi + 0x10c]
call fcn.004e0460
add esp, 8
push dword [esi + 0xd8]
push ebx
call fcn.004e2a30
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.004e0460
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [esi + 0xd8]
push dword [esi + 0xd4]
call fcn.004e0460
add esp, 8
push dword [esi + 0x74]
push ebx
call fcn.004e2a30
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
mov dword [esp + 0x10], ebx
push ebx
call fcn.004e0460
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [esi + 0x74]
push dword [esi + 0x70]
call fcn.004e0460
add esp, 8
cmp byte [esp + 0x48], 0x20
jne 0x4dfb80
push 0x800
mov ebx, dword [esp + 0x10]
push ebx
call fcn.004e2a30
add esp, 8
lea eax, [ebp + 0x14]
push 0x1000
push eax
call fcn.004e2a30
add esp, 8
lea eax, [ebp + 0x18]
push 0x2000
push eax
call fcn.004e2a30
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 0xc
push ebx
call fcn.004e0460
add esp, 8
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4dfb9b
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [esp + 0x54]
push eax
call fcn.004e0460
add esp, 8
mov edx, dword [esp + 0x44]
mov eax, dword [ebp + 4]
mov edi, dword [ebp + 0x54]
inc eax
dec edi
mov ecx, dword [esp + 0x40]
push edi
mov edi, dword [esp + 0x44]
push eax
call fcn.004e0460
add esp, 8
push dword [ebp + 0x80]
mov ebx, dword [esp + 0x10]
push ebx
call fcn.004e2a30
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.004e0460
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [ebp + 0x80]
push dword [ebp + 0x74]
call fcn.004e0460
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [ebp + 0x84]
push dword [ebp + 0x78]
call fcn.004e0460
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push ebx
call fcn.004e04a0
add esp, 4
mov eax, dword [esi + 0x68]
push dword [esp + 0x20]
mov edi, dword [esp + 4]
push edi
push ebx
push dword [ebp + 0x88]
push dword [ebp + 0x7c]
push esi
call dword [eax + 0x14]
add esp, 0x18
test eax, eax
je 0x4dfc47
push str.Unable_to_verify_hostkey_signature_DH_SHA
push 0xfffffffffffffff5
jmp 0x4dfddc
mov byte [ebp + 0x50], 0x15
mov dword [ebp], 5
lea eax, [ebp + 0x50]
push 0
push 0
push 1
push eax
push esi
call fcn.004ef280
add esp, 0x14
mov ebx, eax
cmp eax, 0xffffffdb
je 0x4dfe84
test ebx, ebx
jne 0x4dfdd6
mov dword [ebp], 6
mov dword [esp], edi
lea edi, [ebp + 0xc]
lea eax, [ebp + 0x5c]
lea ecx, [ebp + 0x90]
push ecx
push 0
push 0
push 0
push eax
push edi
push 0x15
push esi
call fcn.004e4bf0
add esp, 0x20
mov ebx, eax
cmp eax, 0xffffffdb
je 0x4dfe84
test ebx, ebx
jne 0x4dfdcf
or byte [esi + 0x40], 2
push esi
push dword [edi]
call dword [esi + 0xc]
add esp, 8
cmp dword [esi + 0x58], 0
jne 0x4dfcf0
push esi
mov edi, dword [esp + 4]
push edi
call dword [esi + 4]
add esp, 8
mov dword [esi + 0x58], eax
test eax, eax
je 0x4dfe98
lea ecx, [ebp + 0x10]
push edi
push ecx
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
add esp, 0xc
mov dword [esi + 0x5c], edi
mov eax, dword [esi + 0x114]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4dfd10
lea eax, [esi + 0x118]
push eax
push esi
call ecx
add esp, 8
mov eax, dword [esi + 0x114]
cmp dword [eax + 0x18], 0
je 0x4dffa0
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x10], 0
lea edi, [esp + 0x14]
mov ebx, dword [esp + 0x40]
mov ecx, ebx
mov edx, esi
push str.ACBDEF
push dword [eax + 0xc]
push edi
push ebp
call fcn.004e04f0
add esp, 0x10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4dfe8e
mov dword [esp], eax
mov eax, dword [esi + 0x114]
lea edi, [esp + 8]
mov ecx, ebx
mov edx, esi
push 0xa5ac03
push dword [eax + 0x10]
push edi
push ebp
call fcn.004e04f0
add esp, 0x10
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x4dfea4
mov eax, dword [esi + 0x114]
lea ecx, [esi + 0x118]
lea edx, [esp + 0x10]
lea edi, [esp + 4]
push ecx
push 1
push edx
push ebx
push edi
mov edi, dword [esp + 0x14]
push edi
push eax
push esi
call dword [eax + 0x18]
add esp, 0x20
test eax, eax
je 0x4dfeb9
push esi
push edi
call dword [esi + 0xc]
add esp, 8
jmp 0x4dfea7
push str.Timed_out_waiting_for_NEWKEYS_DH_SHA
jmp 0x4dfddb
push str.Unable_to_send_NEWKEYS_message_DH_SHA
push ebx
push esi
call fcn.004e28e0
add esp, 0xc
mov ebx, eax
lea eax, [ebp + 0x64]
push eax
call fcn.004d8290
add esp, 4
push dword [ebp + 0x68]
call fcn.00587d70
add esp, 4
mov dword [ebp + 0x68], 0
push dword [ebp + 0x6c]
call fcn.00587d70
add esp, 4
mov dword [ebp + 0x6c], 0
push dword [ebp + 0x70]
call fcn.00587d70
add esp, 4
mov dword [ebp + 0x70], 0
push dword [ebp + 0x60]
call fcn.00584470
add esp, 4
mov dword [ebp + 0x60], 0
mov eax, dword [ebp + 4]
test eax, eax
je 0x4dfe51
push esi
push eax
call dword [esi + 0xc]
add esp, 8
mov dword [ebp + 4], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4dfe67
push esi
push eax
call dword [esi + 0xc]
add esp, 8
mov dword [ebp + 8], 0
mov eax, dword [ebp + 0x78]
test eax, eax
je 0x4dfe7d
push esi
push eax
call dword [esi + 0xc]
add esp, 8
mov dword [ebp + 0x78], 0
mov dword [ebp], 0
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, 0xffffffff
jmp 0x4dfde7
push str.Unable_to_allocate_buffer_for_SHA_digest
push 0xfffffffffffffffa
jmp 0x4dfddc
mov ebx, dword [esp]
push esi
push ebx
call dword [esi + 0xc]
add esp, 8
mov ebx, 0xfffffffb
jmp 0x4dfde7
cmp dword [esp + 4], 0
je 0x4dff30
mov eax, dword [esi + 0x114]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4dff25
mov ecx, eax
and ecx, 7
je 0x4dfeeb
xor edi, edi
mov edx, dword [esp]
mov byte [edx + edi], 0
inc edi
cmp ecx, edi
jne 0x4dfed9
lea ecx, [edx + edi]
mov edx, eax
sub edx, edi
jmp 0x4dfef0
mov ecx, dword [esp]
mov edx, eax
cmp eax, 8
jb 0x4dff25
xor eax, eax
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
mov byte [ecx + eax + 2], 0
mov byte [ecx + eax + 3], 0
mov byte [ecx + eax + 4], 0
mov byte [ecx + eax + 5], 0
mov byte [ecx + eax + 6], 0
mov byte [ecx + eax + 7], 0
add eax, 8
cmp edx, eax
jne 0x4dfef7
push esi
push dword [esp + 4]
call dword [esi + 0xc]
add esp, 8
cmp dword [esp + 0x10], 0
je 0x4dffa0
mov eax, dword [esi + 0x114]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4dff98
mov ecx, eax
and ecx, 7
je 0x4dff5f
xor edi, edi
mov byte [ebx + edi], 0
inc edi
cmp ecx, edi
jne 0x4dff4d
lea ecx, [ebx + edi]
mov edx, eax
sub edx, edi
jmp 0x4dff63
mov ecx, ebx
mov edx, eax
cmp eax, 8
jb 0x4dff98
xor eax, eax
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
mov byte [ecx + eax + 2], 0
mov byte [ecx + eax + 3], 0
mov byte [ecx + eax + 4], 0
mov byte [ecx + eax + 5], 0
mov byte [ecx + eax + 6], 0
mov byte [ecx + eax + 7], 0
add eax, 8
cmp edx, eax
jne 0x4dff6a
push esi
push ebx
call dword [esi + 0xc]
add esp, 8
mov eax, dword [esi + 0xdc]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x4dffc0
lea eax, [esi + 0xe0]
push eax
push esi
call ecx
add esp, 8
mov eax, dword [esi + 0xdc]
cmp dword [eax + 0x18], 0
je 0x4e016b
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x10], 0
lea edi, [esp + 0x14]
mov ebx, dword [esp + 0x40]
mov ecx, ebx
mov edx, esi
push 0xa5ac05
push dword [eax + 0xc]
push edi
push ebp
call fcn.004e04f0
add esp, 0x10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e02fe
mov dword [esp], eax
mov eax, dword [esi + 0xdc]
lea edi, [esp + 8]
mov ecx, ebx
mov edx, esi
push 0xa5ac07
push dword [eax + 0x10]
push edi
push ebp
call fcn.004e04f0
add esp, 0x10
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x4e0074
mov eax, dword [esi + 0xdc]
lea ecx, [esi + 0xe0]
lea edx, [esp + 0x10]
lea edi, [esp + 4]
push ecx
push 0
push edx
push ebx
push edi
mov edi, dword [esp + 0x14]
push edi
push eax
push esi
call dword [eax + 0x18]
add esp, 0x20
test eax, eax
je 0x4e0084
push esi
push edi
call dword [esi + 0xc]
add esp, 8
jmp 0x4e0077
mov ebx, dword [esp]
push esi
push ebx
call dword [esi + 0xc]
add esp, 8
jmp 0x4e02fe
cmp dword [esp + 4], 0
je 0x4e00fb
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4e00f0
mov ecx, eax
and ecx, 7
je 0x4e00b6
xor edi, edi
mov edx, dword [esp]
mov byte [edx + edi], 0
inc edi
cmp ecx, edi
jne 0x4e00a4
lea ecx, [edx + edi]
mov edx, eax
sub edx, edi
jmp 0x4e00bb
mov ecx, dword [esp]
mov edx, eax
cmp eax, 8
jb 0x4e00f0
xor eax, eax
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
mov byte [ecx + eax + 2], 0
mov byte [ecx + eax + 3], 0
mov byte [ecx + eax + 4], 0
mov byte [ecx + eax + 5], 0
mov byte [ecx + eax + 6], 0
mov byte [ecx + eax + 7], 0
add eax, 8
cmp edx, eax
jne 0x4e00c2
push esi
push dword [esp + 4]
call dword [esi + 0xc]
add esp, 8
cmp dword [esp + 0x10], 0
je 0x4e016b
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4e0163
mov ecx, eax
and ecx, 7
je 0x4e012a
xor edi, edi
mov byte [ebx + edi], 0
inc edi
cmp ecx, edi
jne 0x4e0118
lea ecx, [ebx + edi]
mov edx, eax
sub edx, edi
jmp 0x4e012e
mov ecx, ebx
mov edx, eax
cmp eax, 8
jb 0x4e0163
xor eax, eax
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
mov byte [ecx + eax + 2], 0
mov byte [ecx + eax + 3], 0
mov byte [ecx + eax + 4], 0
mov byte [ecx + eax + 5], 0
mov byte [ecx + eax + 6], 0
mov byte [ecx + eax + 7], 0
add eax, 8
cmp edx, eax
jne 0x4e0135
push esi
push ebx
call dword [esi + 0xc]
add esp, 8
mov eax, dword [esi + 0x11c]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4e018b
lea eax, [esi + 0x124]
push eax
push esi
call ecx
add esp, 8
mov eax, dword [esi + 0x11c]
cmp dword [eax + 0xc], 0
je 0x4e0257
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
lea edi, [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, esi
push 0xa5ac09
push dword [eax + 8]
push edi
push ebp
call fcn.004e04f0
add esp, 0x10
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4e02fe
mov eax, dword [esi + 0x11c]
lea ecx, [esi + 0x124]
lea edx, [esp + 8]
push ecx
push edx
push ebx
push esi
call dword [eax + 0xc]
add esp, 0x10
cmp dword [esp + 8], 0
je 0x4e0257
mov eax, dword [esi + 0x11c]
mov eax, dword [eax + 8]
test eax, eax
je 0x4e024f
mov ecx, eax
and ecx, 7
je 0x4e0216
xor edi, edi
mov byte [ebx + edi], 0
inc edi
cmp ecx, edi
jne 0x4e0204
lea ecx, [ebx + edi]
mov edx, eax
sub edx, edi
jmp 0x4e021a
mov ecx, ebx
mov edx, eax
cmp eax, 8
jb 0x4e024f
xor eax, eax
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
mov byte [ecx + eax + 2], 0
mov byte [ecx + eax + 3], 0
mov byte [ecx + eax + 4], 0
mov byte [ecx + eax + 5], 0
mov byte [ecx + eax + 6], 0
mov byte [ecx + eax + 7], 0
add eax, 8
cmp edx, eax
jne 0x4e0221
push esi
push ebx
call dword [esi + 0xc]
add esp, 8
mov eax, dword [esi + 0xe4]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x4e0277
lea eax, [esi + 0xec]
push eax
push esi
call ecx
add esp, 8
mov eax, dword [esi + 0xe4]
cmp dword [eax + 0xc], 0
je 0x4e0349
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
lea edi, [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, esi
push 0xa5ac0b
push dword [eax + 8]
push edi
push ebp
call fcn.004e04f0
add esp, 0x10
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4e02fe
mov eax, dword [esi + 0xe4]
lea ecx, [esi + 0xec]
lea edx, [esp + 8]
push ecx
push edx
push edi
push esi
call dword [eax + 0xc]
add esp, 0x10
cmp dword [esp + 8], 0
je 0x4e0349
mov eax, dword [esi + 0xe4]
mov eax, dword [eax + 8]
test eax, eax
je 0x4e0341
mov ecx, eax
and ecx, 7
je 0x4e0308
xor ebx, ebx
mov byte [edi + ebx], 0
inc ebx
cmp ecx, ebx
jne 0x4e02ec
lea ecx, [edi + ebx]
mov edx, eax
sub edx, ebx
jmp 0x4e030c
mov ebx, 0xfffffffb
jmp 0x4dfde7
mov ecx, edi
mov edx, eax
cmp eax, 8
jb 0x4e0341
xor eax, eax
mov byte [ecx + eax], 0
mov byte [ecx + eax + 1], 0
mov byte [ecx + eax + 2], 0
mov byte [ecx + eax + 3], 0
mov byte [ecx + eax + 4], 0
mov byte [ecx + eax + 5], 0
mov byte [ecx + eax + 6], 0
mov byte [ecx + eax + 7], 0
add eax, 8
cmp edx, eax
jne 0x4e0313
push esi
push edi
call dword [esi + 0xc]
add esp, 8
mov eax, dword [esi + 0x128]
test eax, eax
je 0x4e0396
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4e0373
lea eax, [esi + 0x12c]
push eax
push 1
push esi
call ecx
add esp, 0xc
mov eax, dword [esi + 0x128]
test eax, eax
je 0x4e0396
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4e0396
lea ecx, [esi + 0x12c]
push ecx
push 1
push esi
call eax
add esp, 0xc
mov ebx, 0xfffffffb
test eax, eax
jne 0x4dfde7
mov eax, dword [esi + 0xf0]
test eax, eax
je case.0x4df4fd.1
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4e03c0
lea eax, [esi + 0xf4]
push eax
push 0
push esi
call ecx
add esp, 0xc
mov eax, dword [esi + 0xf0]
test eax, eax
je case.0x4df4fd.1
mov eax, dword [eax + 0xc]
mov ebx, 0
test eax, eax
je 0x4dfde7
lea ecx, [esi + 0xf4]
push ecx
push 0
push esi
call eax
add esp, 0xc
xor ecx, ecx
test eax, eax
sete cl
lea ebx, [ecx + ecx*4]
add ebx, 0xfffffffb
jmp 0x4dfde7
xor ebx, ebx
jmp 0x4dfde7