Function at 0x4dfa20
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 0x4dfa58
cmp ecx, 1
je 0x4dfa86
cmp ecx, 0x100
jne 0x4dfa7a
mov edi, 0x20
mov eax, dword [ebp]
cmp eax, 6
jbe 0x4dfaa9
jmp case.0x4dfaad.1
cmp ecx, 0x200
je 0x4dfa98
cmp ecx, 0x180
jne 0x4dfa7a
mov edi, 0x30
mov eax, dword [ebp]
cmp eax, 6
jbe 0x4dfaa9
jmp case.0x4dfaad.1
push str.sha_algo_value_is_unimplemented
push 0xfffffffffffffff2
jmp 0x4e038c
mov edi, 0x14
mov eax, dword [ebp]
cmp eax, 6
jbe 0x4dfaa9
jmp case.0x4dfaad.1
mov edi, 0x40
mov eax, dword [ebp]
cmp eax, 6
ja case.0x4dfaad.1
mov ebx, dword [esp + 0x38]
jmp dword [eax*4 + 0x991c8c]
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.00584990
mov dword [ebp + 0x60], eax
lea edi, [ebp + 0x64]
push edi
call fcn.004d87b0
add esp, 4
call fcn.00588430
mov dword [ebp + 0x68], eax
call fcn.00588430
mov dword [ebp + 0x6c], eax
call fcn.00588430
mov dword [ebp + 0x70], eax
xorps xmm0, xmm0
movups xmmword [ebp + 0x90], xmm0
push ebx
call fcn.00588180
add esp, 4
cmp eax, 0x4001
jl 0x4dfb22
push str.dh_modulus_value_is_too_large
push 0xffffffffffffffde
jmp 0x4e038c
push dword [ebp + 0x60]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x18]
push dword [ebp + 0x68]
push edi
call fcn.004d87c0
add esp, 0x18
test eax, eax
je 0x4dfb4d
push str.dh_key_pair_generation_failed
push 0xfffffffffffffffb
jmp 0x4e038c
push dword [ebp + 0x68]
call fcn.00588180
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.00588180
add esp, 4
mov ecx, dword [ebp + 0x54]
test al, 7
je 0x4dfb82
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 0x4dfde5
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.004e2fe0
add esp, 8
push dword [ebp + 0x68]
call fcn.00588180
add esp, 4
mov ecx, 5
test al, 7
jne 0x4dfbd3
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.00588d70
add esp, 8
mov dword [ebp], 2
push 0
push 0
push dword [ebp + 0x54]
push dword [ebp + 4]
push esi
call fcn.004ef830
add esp, 0x14
mov ebx, eax
cmp eax, 0xffffffdb
je 0x4e0434
test ebx, ebx
jne 0x4dfcaa
mov dword [ebp], 3
cmp dword [esi + 0x54], 0
je 0x4dfc49
lea eax, [ebp + 0xa0]
push eax
push esi
call fcn.004e5280
add esp, 8
mov ebx, 0xffffffdb
cmp eax, 0xffffffdb
je 0x4e0434
test eax, eax
jle 0x4e0395
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.004e51a0
add esp, 0x20
test eax, eax
je 0x4dfc8d
cmp eax, 0xffffffdb
jne 0x4dfc9e
mov ebx, 0xffffffdb
jmp 0x4e0434
mov eax, dword [ebx]
cmp eax, 4
ja 0x4dfcb4
push str.Unexpected_packet_length_DH_SHA
jmp 0x4dfa7f
push str.Timed_out_waiting_for_KEX_reply
push 0xfffffffffffffff7
jmp 0x4e038c
push str.Unable_to_send_KEX_init_message
jmp 0x4e038b
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 0x4dfcd5
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.004e3960
add esp, 0x10
test eax, eax
je 0x4dfcf9
push str.Could_not_copy_host_key
push 0xfffffffffffffffa
jmp 0x4e038c
mov eax, dword [esp + 8]
mov dword [esi + 0x74], eax
lea edi, [esp + 4]
push edi
call fcn.004d6d20
add esp, 4
xor ebx, ebx
mov ecx, 0
test eax, eax
je 0x4dfd4d
push dword [esi + 0x74]
push dword [esi + 0x70]
push dword [esp + 0xc]
call fcn.005b9000
add esp, 0xc
lea eax, [esi + 0x78]
push 0
push eax
push dword [esp + 0xc]
call fcn.005b9120
add esp, 0xc
push dword [esp + 4]
call fcn.005b8950
add esp, 4
mov ecx, 1
mov dword [esi + 0x88], ecx
push edi
call fcn.004d6be0
add esp, 4
test eax, eax
je 0x4dfd98
push dword [esi + 0x74]
push dword [esi + 0x70]
push dword [esp + 0xc]
call fcn.005b9000
add esp, 0xc
lea eax, [esi + 0x8c]
push 0
push eax
push dword [esp + 0xc]
call fcn.005b9120
add esp, 0xc
push dword [esp + 4]
call fcn.005b8950
add esp, 4
mov ebx, 1
mov dword [esi + 0xa0], ebx
push edi
call fcn.004d6c30
add esp, 4
test eax, eax
je 0x4dfdf1
push dword [esi + 0x74]
push dword [esi + 0x70]
push dword [esp + 0xc]
call fcn.005b9000
add esp, 0xc
lea eax, [esi + 0xa4]
push 0
push eax
push dword [esp + 0xc]
call fcn.005b9120
add esp, 0xc
push dword [esp + 4]
call fcn.005b8950
add esp, 4
mov eax, 1
jmp 0x4dfdf3
push str.Out_of_memory_error
push 0xfffffffffffffffa
jmp 0x4e038c
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 0x4dfe1d
push str.Unable_to_initialize_hostkey_importer_DH_SHA
push 0xfffffffffffffff6
jmp 0x4e038c
lea eax, [ebp + 0x74]
lea ecx, [ebp + 0x80]
push ecx
push eax
lea edi, [esp + 0x1c]
push edi
call fcn.004e3900
add esp, 0xc
test eax, eax
je 0x4dfe45
push str.Unable_to_get_DH_SHA_f_value
push 0xfffffffffffffff6
jmp 0x4e038c
push dword [ebp + 0x6c]
push dword [ebp + 0x80]
push dword [ebp + 0x74]
call fcn.005887f0
add esp, 0xc
lea eax, [ebp + 0x7c]
lea ecx, [ebp + 0x88]
push ecx
push eax
push edi
call fcn.004e3900
add esp, 0xc
test eax, eax
je 0x4dfe7d
push str.Unable_to_get_DH_SHA_h_sig
push 0xfffffffffffffff6
jmp 0x4e038c
lea eax, [ebp + 0x64]
push dword [ebp + 0x60]
push dword [esp + 0x3c]
push dword [ebp + 0x6c]
push dword [ebp + 0x70]
push eax
call fcn.004d8810
add esp, 0x14
push dword [ebp + 0x70]
call fcn.00588180
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.00588180
add esp, 4
mov ecx, dword [ebp + 0x84]
test al, 7
je 0x4dfed4
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 0x4dffa6
mov ecx, dword [ebp + 0x84]
add ecx, 0xfffffffc
push ecx
push eax
call fcn.004e2fe0
add esp, 8
push dword [ebp + 0x70]
call fcn.00588180
add esp, 4
mov ecx, 4
test al, 7
jne 0x4dff1e
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.00588d70
add esp, 8
lea eax, [esp + 0x44]
mov dword [ebp + 0x8c], eax
mov edx, dword [esp + 0x44]
mov ecx, edi
call fcn.004e09b0
mov eax, dword [esi + 0x108]
lea ecx, [ebp + 0x10]
test eax, eax
mov dword [esp + 0x20], ebx
je 0x4dffb2
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.004e2fe0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.004e0a10
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 0x4dffdd
push str.Unable_to_allocate_buffer_for_DH_SHA_K
push 0xfffffffffffffffa
jmp 0x4e038c
push 0x16
push ecx
mov ebx, ecx
call fcn.004e2fe0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.004e0a10
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 0x16
push str.SSH_2.0_libssh2_1.11.0
call fcn.004e0a10
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.004e2fe0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.004e0a10
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.004e0a10
add esp, 8
push dword [esi + 0x110]
push ebx
call fcn.004e2fe0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.004e0a10
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [esi + 0x110]
push dword [esi + 0x10c]
call fcn.004e0a10
add esp, 8
push dword [esi + 0xd8]
push ebx
call fcn.004e2fe0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.004e0a10
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [esi + 0xd8]
push dword [esi + 0xd4]
call fcn.004e0a10
add esp, 8
push dword [esi + 0x74]
push ebx
call fcn.004e2fe0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
mov dword [esp + 0x10], ebx
push ebx
call fcn.004e0a10
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [esi + 0x74]
push dword [esi + 0x70]
call fcn.004e0a10
add esp, 8
cmp byte [esp + 0x48], 0x20
jne 0x4e0130
push 0x800
mov ebx, dword [esp + 0x10]
push ebx
call fcn.004e2fe0
add esp, 8
lea eax, [ebp + 0x14]
push 0x1000
push eax
call fcn.004e2fe0
add esp, 8
lea eax, [ebp + 0x18]
push 0x2000
push eax
call fcn.004e2fe0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 0xc
push ebx
call fcn.004e0a10
add esp, 8
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4e014b
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [esp + 0x54]
push eax
call fcn.004e0a10
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.004e0a10
add esp, 8
push dword [ebp + 0x80]
mov ebx, dword [esp + 0x10]
push ebx
call fcn.004e2fe0
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push 4
push ebx
call fcn.004e0a10
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [ebp + 0x80]
push dword [ebp + 0x74]
call fcn.004e0a10
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push dword [ebp + 0x84]
push dword [ebp + 0x78]
call fcn.004e0a10
add esp, 8
mov edx, dword [esp + 0x44]
mov ecx, edi
push ebx
call fcn.004e0a50
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 0x4e01f7
push str.Unable_to_verify_hostkey_signature_DH_SHA
push 0xfffffffffffffff5
jmp 0x4e038c
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.004ef830
add esp, 0x14
mov ebx, eax
cmp eax, 0xffffffdb
je 0x4e0434
test ebx, ebx
jne 0x4e0386
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.004e51a0
add esp, 0x20
mov ebx, eax
cmp eax, 0xffffffdb
je 0x4e0434
test ebx, ebx
jne 0x4e037f
or byte [esi + 0x40], 2
push esi
push dword [edi]
call dword [esi + 0xc]
add esp, 8
cmp dword [esi + 0x58], 0
jne 0x4e02a0
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 0x4e0448
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 0x4e02c0
lea eax, [esi + 0x118]
push eax
push esi
call ecx
add esp, 8
mov eax, dword [esi + 0x114]
cmp dword [eax + 0x18], 0
je 0x4e0550
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.004e0aa0
add esp, 0x10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e043e
mov dword [esp], eax
mov eax, dword [esi + 0x114]
lea edi, [esp + 8]
mov ecx, ebx
mov edx, esi
push 0x992203
push dword [eax + 0x10]
push edi
push ebp
call fcn.004e0aa0
add esp, 0x10
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x4e0454
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 0x4e0469
push esi
push edi
call dword [esi + 0xc]
add esp, 8
jmp 0x4e0457
push str.Timed_out_waiting_for_NEWKEYS_DH_SHA
jmp 0x4e038b
push str.Unable_to_send_NEWKEYS_message_DH_SHA
push ebx
push esi
call fcn.004e2e90
add esp, 0xc
mov ebx, eax
lea eax, [ebp + 0x64]
push eax
call fcn.004d8840
add esp, 4
push dword [ebp + 0x68]
call fcn.00588320
add esp, 4
mov dword [ebp + 0x68], 0
push dword [ebp + 0x6c]
call fcn.00588320
add esp, 4
mov dword [ebp + 0x6c], 0
push dword [ebp + 0x70]
call fcn.00588320
add esp, 4
mov dword [ebp + 0x70], 0
push dword [ebp + 0x60]
call fcn.00584a20
add esp, 4
mov dword [ebp + 0x60], 0
mov eax, dword [ebp + 4]
test eax, eax
je 0x4e0401
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 0x4e0417
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 0x4e042d
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 0x4e0397
push str.Unable_to_allocate_buffer_for_SHA_digest
push 0xfffffffffffffffa
jmp 0x4e038c
mov ebx, dword [esp]
push esi
push ebx
call dword [esi + 0xc]
add esp, 8
mov ebx, 0xfffffffb
jmp 0x4e0397
cmp dword [esp + 4], 0
je 0x4e04e0
mov eax, dword [esi + 0x114]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4e04d5
mov ecx, eax
and ecx, 7
je 0x4e049b
xor edi, edi
mov edx, dword [esp]
mov byte [edx + edi], 0
inc edi
cmp ecx, edi
jne 0x4e0489
lea ecx, [edx + edi]
mov edx, eax
sub edx, edi
jmp 0x4e04a0
mov ecx, dword [esp]
mov edx, eax
cmp eax, 8
jb 0x4e04d5
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 0x4e04a7
push esi
push dword [esp + 4]
call dword [esi + 0xc]
add esp, 8
cmp dword [esp + 0x10], 0
je 0x4e0550
mov eax, dword [esi + 0x114]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4e0548
mov ecx, eax
and ecx, 7
je 0x4e050f
xor edi, edi
mov byte [ebx + edi], 0
inc edi
cmp ecx, edi
jne 0x4e04fd
lea ecx, [ebx + edi]
mov edx, eax
sub edx, edi
jmp 0x4e0513
mov ecx, ebx
mov edx, eax
cmp eax, 8
jb 0x4e0548
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 0x4e051a
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 0x4e0570
lea eax, [esi + 0xe0]
push eax
push esi
call ecx
add esp, 8
mov eax, dword [esi + 0xdc]
cmp dword [eax + 0x18], 0
je 0x4e071b
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 0x992205
push dword [eax + 0xc]
push edi
push ebp
call fcn.004e0aa0
add esp, 0x10
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e08ae
mov dword [esp], eax
mov eax, dword [esi + 0xdc]
lea edi, [esp + 8]
mov ecx, ebx
mov edx, esi
push 0x992207
push dword [eax + 0x10]
push edi
push ebp
call fcn.004e0aa0
add esp, 0x10
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x4e0624
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 0x4e0634
push esi
push edi
call dword [esi + 0xc]
add esp, 8
jmp 0x4e0627
mov ebx, dword [esp]
push esi
push ebx
call dword [esi + 0xc]
add esp, 8
jmp 0x4e08ae
cmp dword [esp + 4], 0
je 0x4e06ab
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4e06a0
mov ecx, eax
and ecx, 7
je 0x4e0666
xor edi, edi
mov edx, dword [esp]
mov byte [edx + edi], 0
inc edi
cmp ecx, edi
jne 0x4e0654
lea ecx, [edx + edi]
mov edx, eax
sub edx, edi
jmp 0x4e066b
mov ecx, dword [esp]
mov edx, eax
cmp eax, 8
jb 0x4e06a0
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 0x4e0672
push esi
push dword [esp + 4]
call dword [esi + 0xc]
add esp, 8
cmp dword [esp + 0x10], 0
je 0x4e071b
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x4e0713
mov ecx, eax
and ecx, 7
je 0x4e06da
xor edi, edi
mov byte [ebx + edi], 0
inc edi
cmp ecx, edi
jne 0x4e06c8
lea ecx, [ebx + edi]
mov edx, eax
sub edx, edi
jmp 0x4e06de
mov ecx, ebx
mov edx, eax
cmp eax, 8
jb 0x4e0713
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 0x4e06e5
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 0x4e073b
lea eax, [esi + 0x124]
push eax
push esi
call ecx
add esp, 8
mov eax, dword [esi + 0x11c]
cmp dword [eax + 0xc], 0
je 0x4e0807
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
lea edi, [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, esi
push 0x992209
push dword [eax + 8]
push edi
push ebp
call fcn.004e0aa0
add esp, 0x10
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4e08ae
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 0x4e0807
mov eax, dword [esi + 0x11c]
mov eax, dword [eax + 8]
test eax, eax
je 0x4e07ff
mov ecx, eax
and ecx, 7
je 0x4e07c6
xor edi, edi
mov byte [ebx + edi], 0
inc edi
cmp ecx, edi
jne 0x4e07b4
lea ecx, [ebx + edi]
mov edx, eax
sub edx, edi
jmp 0x4e07ca
mov ecx, ebx
mov edx, eax
cmp eax, 8
jb 0x4e07ff
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 0x4e07d1
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 0x4e0827
lea eax, [esi + 0xec]
push eax
push esi
call ecx
add esp, 8
mov eax, dword [esi + 0xe4]
cmp dword [eax + 0xc], 0
je 0x4e08f9
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
lea edi, [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, esi
push 0x99220b
push dword [eax + 8]
push edi
push ebp
call fcn.004e0aa0
add esp, 0x10
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4e08ae
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 0x4e08f9
mov eax, dword [esi + 0xe4]
mov eax, dword [eax + 8]
test eax, eax
je 0x4e08f1
mov ecx, eax
and ecx, 7
je 0x4e08b8
xor ebx, ebx
mov byte [edi + ebx], 0
inc ebx
cmp ecx, ebx
jne 0x4e089c
lea ecx, [edi + ebx]
mov edx, eax
sub edx, ebx
jmp 0x4e08bc
mov ebx, 0xfffffffb
jmp 0x4e0397
mov ecx, edi
mov edx, eax
cmp eax, 8
jb 0x4e08f1
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 0x4e08c3
push esi
push edi
call dword [esi + 0xc]
add esp, 8
mov eax, dword [esi + 0x128]
test eax, eax
je 0x4e0946
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4e0923
lea eax, [esi + 0x12c]
push eax
push 1
push esi
call ecx
add esp, 0xc
mov eax, dword [esi + 0x128]
test eax, eax
je 0x4e0946
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4e0946
lea ecx, [esi + 0x12c]
push ecx
push 1
push esi
call eax
add esp, 0xc
mov ebx, 0xfffffffb
test eax, eax
jne 0x4e0397
mov eax, dword [esi + 0xf0]
test eax, eax
je case.0x4dfaad.1
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4e0970
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.0x4dfaad.1
mov eax, dword [eax + 0xc]
mov ebx, 0
test eax, eax
je 0x4e0397
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 0x4e0397
xor ebx, ebx
jmp 0x4e0397