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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x644904]
mov ecx, dword [0x64581c]
mov dword [ebp - 4], eax
mov eax, dword [0x645800]
cmp eax, ecx
jne 0x4d9951
push ebx
push esi
mov esi, dword [ebp + 8]
mov dl, byte [esi + 0x11]
mov cl, byte [esi + 0xf]
mov al, byte [esi + 0x12]
mov ebx, dword [esi + 0x14]
mov byte [ebp - 0x115], dl
mov dl, byte [esi + 0x13]
mov byte [ebp - 0x109], dl
mov edx, dword [esi + 0xd4]
movzx ecx, cl
mov dword [ebp - 0x110], edx
mov dl, byte [esi + 0xe]
dec ecx
test dl, dl
push edi
mov edi, dword [esi + 0xd0]
je 0x4d95c8
cmp ecx, 5
ja case.0x4d93df.3
jmp dword [ecx*4 + 0x4d9990]
movzx ecx, byte [esi + 0x10]
dec ecx
jne case.0x4d93df.3
mov ecx, dword [0x645ae0]
mov edx, dword [ecx]
movzx eax, al
push eax
call dword [edx + 0x90]
mov esi, eax
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x78]
mov edi, dword [0x645224]
mov eax, dword [esi]
mov ebx, dword [edi]
mov ecx, esi
call dword [eax + 0x60]
push eax
mov ecx, edi
call dword [ebx + 0x38]
mov edi, eax
mov edx, dword [edi]
push esi
mov ecx, edi
call dword [edx + 0xa0]
movzx edx, byte [ebp - 0x109]
mov ecx, dword [0x645ae0]
mov eax, dword [ecx]
push 1
push edi
push edx
call dword [eax + 0x230]
mov ecx, dword [0x646304]
call fcn.00532e00
jmp 0x4d994e
movzx ecx, byte [ebp - 0x115]
dec ecx
jne case.0x4d93df.3
mov ecx, dword [0x645ae0]
movzx edi, al
mov eax, dword [ecx]
push edi
call dword [eax + 0x234]
test eax, eax
je 0x4d94ef
mov ecx, dword [0x645ae0]
mov dword [ebp - 0x110], 0
mov byte [ebp - 0x113], 0
mov byte [ebp - 0x114], 0
mov edx, dword [ecx]
push edi
call dword [edx + 0x234]
mov edx, dword [eax]
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x113]
push ecx
lea ecx, [ebp - 0x114]
push ecx
mov ecx, eax
call dword [edx + 8]
mov ecx, dword [0x645ae0]
mov edx, dword [ecx]
lea eax, [ebp - 0x114]
mov esi, ecx
mov ebx, dword [esi]
push eax
call dword [edx + 0x94]
push eax
mov ecx, esi
call dword [ebx + 0x90]
test eax, eax
je 0x4d94ef
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0x78]
mov ecx, dword [0x645ae0]
mov eax, dword [ecx]
push 1
push 0
push edi
call dword [eax + 0x230]
mov ecx, dword [0x646304]
call fcn.00532e00
jmp 0x4d994e
mov ecx, dword [0x645ae0]
mov edx, dword [ecx]
push ebx
call dword [edx + 0x23c]
mov ecx, dword [0x646304]
call fcn.00532e00
jmp 0x4d994e
mov eax, dword [esi + 0xd4]
mov ecx, dword [esi + 0xd0]
push eax
push ecx
mov ecx, dword [0x645ae0]
call fcn.0049efa0
mov ecx, dword [0x645ae0]
push eax
call fcn.0049efe0
movzx edx, byte [ebp - 0x109]
mov ecx, dword [0x645ae0]
push 0
push eax
push edx
call fcn.004a87e0
mov ecx, dword [0x646304]
call fcn.00532e00
jmp 0x4d994e
mov eax, dword [esi + 0xd4]
mov ecx, dword [esi + 0xd0]
push eax
push ecx
mov ecx, dword [0x645ae0]
call fcn.0049fc80
mov ecx, dword [0x645ae0]
push 0
push 0
push eax
call fcn.004a87e0
mov edx, dword [ebp - 0x110]
mov ecx, dword [0x645ae0]
push edx
push edi
call fcn.0049efa0
mov ecx, dword [0x646304]
call fcn.00532e00
jmp 0x4d994e
cmp ecx, 5
ja case.0x4d95d1.3
jmp dword [ecx*4 + 0x4d99a8]
mov al, byte [esi + 0x18]
mov ecx, dword [0x645224]
test al, al
mov eax, dword [ecx]
je 0x4d9643
mov edx, dword [esi + 0x28]
push edx
call dword [eax + 0x38]
mov ecx, dword [esi + 0x24]
push ecx
xor edx, edx
mov dl, byte [esi + 0x21]
xor ecx, ecx
mov cl, byte [esi + 0x20]
lea edi, [esi + 0x20]
mov ebx, eax
mov eax, dword [ebx]
push edx
push ecx
mov ecx, ebx
call dword [eax + 4]
movzx eax, byte [ebp - 0x109]
mov ecx, dword [0x645ae0]
mov edx, dword [ecx]
push 1
push ebx
push eax
mov dword [ebp - 0x110], eax
call dword [edx + 0x264]
mov ecx, dword [0x645ae0]
mov edx, dword [ebp - 0x110]
mov eax, dword [ecx]
push edi
push 0
push edx
call dword [eax + 0x26c]
jmp 0x4d9687
mov edx, dword [esi + 0x1c]
push edx
call dword [eax + 0x38]
mov ebx, eax
test ebx, ebx
jne 0x4d9668
push 0x5ef584
push 0x99
push 0x60749c
call dword [sym.imp.tengine.dll_void___cdecl_tThrowAssertException_char_const___int__char_const__]
add esp, 0xc
movzx eax, byte [ebp - 0x109]
mov ecx, dword [0x645ae0]
mov edx, dword [ecx]
push 1
push ebx
push eax
mov dword [ebp - 0x110], eax
call dword [edx + 0x264]
mov dx, word [esi + 0xc]
xor eax, eax
mov byte [ebp - 0x108], 0
mov ecx, 0x40
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx eax, dl
push eax
movzx ecx, dh
push ecx
push 0x5f1db0
lea edx, [ebp - 0x108]
push 0x104
push edx
call dword [sym.imp.MSVCR71.dll__snprintf]
mov ecx, dword [ebp - 0x110]
movzx edx, byte [esi + 0x19]
mov edi, dword [0x646074]
mov eax, dword [edi]
add esp, 0x14
push ecx
push edx
mov edx, dword [ebx]
lea ecx, [ebp - 0x108]
push ecx
mov ecx, ebx
mov dword [ebp - 0x110], eax
call dword [edx + 0x10]
push eax
mov eax, dword [ebp - 0x110]
push 0x255
mov ecx, edi
call dword [eax + 0x3c]
jmp case.0x4d95d1.3
mov ecx, dword [0x645ae0]
mov edx, dword [ecx]
movzx eax, al
push eax
mov dword [ebp - 0x110], eax
call dword [edx + 0x268]
mov dx, word [esi + 0xc]
mov ebx, eax
xor eax, eax
mov byte [ebp - 0x108], 0
mov ecx, 0x40
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx eax, dl
push eax
movzx ecx, dh
push ecx
push 0x5f1db0
lea edx, [ebp - 0x108]
push 0x104
push edx
call dword [sym.imp.MSVCR71.dll__snprintf]
mov eax, dword [ebp - 0x110]
mov esi, dword [0x646074]
mov edx, dword [ebx]
mov edi, dword [esi]
add esp, 0x14
push eax
mov ecx, ebx
call dword [edx + 0x68]
mov edx, dword [ebx]
push eax
lea eax, [ebp - 0x108]
push eax
mov ecx, ebx
call dword [edx + 0x10]
push eax
push 0x256
mov ecx, esi
call dword [edi + 0x3c]
mov ecx, dword [0x645ae0]
mov edx, dword [ebp - 0x110]
mov eax, dword [ecx]
push 1
push 0
push edx
call dword [eax + 0x264]
jmp case.0x4d95d1.3
mov ecx, dword [0x645ae0]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x270]
mov dx, word [esi + 0xc]
xor eax, eax
mov byte [ebp - 0x108], 0
mov ecx, 0x40
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
movzx ecx, dl
push ecx
movzx edx, dh
stosw word es:[edi], ax
push edx
push 0x5f1db0
stosb byte es:[edi], al
lea eax, [ebp - 0x108]
push 0x104
push eax
call dword [sym.imp.MSVCR71.dll__snprintf]
xor edx, edx
mov esi, 0x2710
mov eax, ebx
div esi
mov ecx, dword [0x646074]
mov esi, dword [ecx]
add esp, 0x14
push edx
push eax
push 0x5eb0c0
lea edx, [ebp - 0x108]
push edx
push 0x25b
call dword [esi + 0x3c]
jmp case.0x4d95d1.3
mov eax, dword [esi + 0xd4]
mov ecx, dword [esi + 0xd0]
push eax
push ecx
mov ecx, dword [0x645ae0]
call fcn.0049fd40
mov ecx, dword [0x645ae0]
push eax
mov dword [ebp - 0x110], eax
call fcn.0049fd80
mov dx, word [esi + 0xc]
mov ebx, eax
xor eax, eax
mov byte [ebp - 0x108], 0
mov ecx, 0x40
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx eax, dl
push eax
movzx ecx, dh
push ecx
push 0x5f1db0
lea edx, [ebp - 0x108]
push 0x104
push edx
call dword [sym.imp.MSVCR71.dll__snprintf]
mov eax, dword [0x645d1c]
add esp, 0x14
test eax, eax
jne 0x4d98cf
mov ecx, dword [0x645860]
mov eax, dword [ecx]
push 0x6f
call dword [eax + 0x40]
test eax, eax
mov dword [0x645d1c], eax
jne 0x4d98cf
push 0x5f2730
push 0xd5
push 0x60749c
call dword [sym.imp.tengine.dll_void___cdecl_tThrowAssertException_char_const___int__char_const__]
mov eax, dword [0x645d1c]
add esp, 0xc
mov ecx, dword [ebx + 0x10]
mov edx, dword [eax]
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x4d98fa
mov eax, dword [eax + 4]
mov ecx, dword [0x646074]
mov edx, dword [ecx]
lea esi, [ebp - 0x108]
push esi
push eax
push 0x258
call dword [edx + 0x48]
jmp 0x4d991d
mov esi, dword [0x646074]
mov edi, dword [esi]
lea ecx, [ebp - 0x108]
push ecx
lea ecx, [ebx + 0x18]
call dword [sym.imp.MSVCP71.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Myptr_void_]
push eax
push 0x258
mov ecx, esi
call dword [edi + 0x48]
mov ecx, ebx
call fcn.00468340
push ebx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov edx, dword [ebp - 0x110]
mov ecx, dword [0x645ae0]
add esp, 4
push 0
push 0
push edx
call fcn.004a8850
mov ecx, dword [0x646304]
call fcn.00532e40
pop edi
pop esi
pop ebx
mov ecx, dword [0x646074]
mov eax, dword [ecx]
push 0xa2
call dword [eax + 0x54]
mov ecx, dword [0x646074]
mov edx, dword [ecx]
push 0xa
call dword [edx + 0x54]
mov ecx, dword [0x646074]
mov eax, dword [ecx]
push 0xe8
call dword [eax + 0x54]
mov ecx, dword [ebp - 4]
mov eax, 2
call fcn.005c8895
mov esp, ebp
pop ebp
ret