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

Disassembly:
push ebp
push ebx
push edi
mov edx, 0x14
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4d9ba1
mov eax, dword [esp + 0x94]
mov dword [0x9b3e20], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov edx, dword [esp + 0x68]
lea ecx, [esp + 4]
call fcn.0051f000
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 8]
call fcn.0051f000
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0xc]
call fcn.0051f000
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x10]
call fcn.0051f000
mov edx, dword [esp + 0x90]
lea ecx, [esp + 0x14]
call fcn.0051f000
mov edx, 0x6fb198
lea ecx, [esp + 0x18]
call fcn.0051f008
push 0x6fe984
push dword [esp + 0x10]
call fcn.004dfb06
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 1
jmp 0x4d9c37
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x24]
jl 0x4d9c63
mov ebx, dword [esp + 0x20]
push 0x6fe984
push dword [esp + 0x28]
push dword [esp + 0x14]
call fcn.0051b4d3
add ebx, eax
mov dword [esp + 0x20], ebx
inc dword [esp + 0x24]
jno 0x4d9c37
mov ebx, dword [esp + 0x20]
add ebx, 0x46
mov dword [esp + 0x28], ebx
push 1
push 0
push 0
push dword [esp + 0x84]
push dword [esp + 0x38]
push dword [esp + 0x18]
push 0x22
call fcn.004fb9ac
push dword [0x9ad314]
call fcn.0051b576
mov ebx, dword [esp + 0x80]
and ebx, ebx
jl 0x4d9cbd
push dword [esp + 0x80]
push 0x22
call fcn.004ea106
push dword [0x9b3e20]
push 0x6fe984
push 1
push dword [esp + 0x14]
call fcn.004d569e
lea eax, [esp + 0x30]
push eax
call fcn.00559740
push 0x6fe984
push 1
push dword [esp + 0x14]
call fcn.0051b4d3
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x38], 0xa
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x34]
add edi, edi
sub ebx, edi
mov dword [esp + 0x3c], ebx
push 0x63
push 0
push 0
push 0
push 0x14
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x30]
push 0xd52
call fcn.004f7463
mov ebx, dword [esp + 0x80]
and ebx, ebx
jle 0x4d9d6c
push dword [esp + 0x80]
push dword [0x9ac7fc]
push 0xd52
call fcn.004ce4bd
mov ebx, dword [esp + 0x38]
add ebx, 0x19
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x78]
add ebx, 0xffffffa6
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0x10000
mov ebx, dword [esp + 0x7c]
and ebx, ebx
jne 0x4d9da0
mov ebx, dword [esp + 0x44]
or ebx, 0x40000000
mov dword [esp + 0x44], ebx
push 1
push 0
push 0
push dword [esp + 0x50]
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x58]
mov ebx, dword [esp + 0x3c]
add ebx, 0x1e
push ebx
push dword [esp + 0x58]
push dword [esp + 0x58]
push 0xda2
call fcn.004e9be2
mov ebx, dword [esp + 0x1c]
cmp ebx, 1
jle 0x4d9e4c
mov dword [esp + 0x24], 2
jmp 0x4d9dec
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x24]
jl 0x4d9e4c
push dword [0x9b3e20]
push 0x6fe984
push dword [esp + 0x2c]
push dword [esp + 0x14]
call fcn.004d569e
lea eax, [esp + 0x30]
push eax
call fcn.00559740
push 0x6fe984
push dword [esp + 0x28]
push dword [esp + 0x14]
call fcn.0051b4d3
mov dword [esp + 0x30], eax
push dword [esp + 0x30]
push dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
dec ebx
push ebx
push 0xda2
call fcn.00519d27
inc dword [esp + 0x24]
jno 0x4d9dec
mov ebx, dword [esp + 0x78]
add ebx, 0xffffffe3
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x7c]
and ebx, ebx
jne 0x4d9f4c
push 0
push 0
push 0x17
push 0x4b
push dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
add ebx, 0xffffff5d
push ebx
mov eax, 0x73fd4c
push eax
push 0xdaa
call fcn.004f57c7
push dword [0x9ae348]
push 0xdaa
call fcn.00503408
push 0
push 0
push 0x17
push 0x4b
push dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
add ebx, 0xffffffae
push ebx
mov eax, str.Cancel
push eax
push 0xdab
call fcn.004f57c7
push dword [0x9ae348]
push 0xdab
call fcn.00503408
push 0xdab
push 0xdaa
push 0x22
call fcn.005086d1
cmp dword [esp + 0x88], 0
je 0x4d9f47
push 0
push 0
push 0x17
push 0x4b
push dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
add ebx, 0xffffff0c
push ebx
mov eax, str.Print
push eax
push 0xda9
call fcn.004f57c7
push dword [0x9ae348]
push 0xda9
call fcn.00503408
jmp 0x4d9fed
push 0
push 0
push 0x17
push 0x4b
push dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
add ebx, 0xffffffae
push ebx
mov eax, 0x73fd4c
push eax
push 0xdab
call fcn.004f57c7
push dword [0x9ae348]
push 0xdab
call fcn.00503408
push 0xdab
push 0
push 0x22
call fcn.0051b59a
cmp dword [esp + 0x88], 0
je 0x4d9fed
push 0
push 0
push 0x17
push 0x4b
push dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
add ebx, 0xffffff5d
push ebx
mov eax, str.Print
push eax
push 0xda9
call fcn.004f57c7
push dword [0x9ae348]
push 0xda9
call fcn.00503408
push dword [esp + 0x14]
mov edx, 0x6fb198
pop ecx
call fcn.0051f5d0
je 0x4da023
mov ebx, dword [esp + 0x1c]
dec ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], 0
jmp 0x4da011
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x24]
jl 0x4da021
inc dword [esp + 0x24]
jno 0x4da011
jmp 0x4da023
push 0
push 0xda8
push 0x22
call fcn.004ce490
mov dword [esp + 0x24], 1
jmp 0x4da041
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x24]
jl 0x4da076
push 0
push 0xffffffff
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 8]
mov ebp, dword [edx]
shl ebx, 2
push dword [ebp + ebx]
push 0xda2
call fcn.004f21c4
inc dword [esp + 0x24]
jno 0x4da041
push 0
push 0xda2
call fcn.0051820d
push 0xda2
call fcn.00515df8
push 0
push 0
push 0
push 0x22
call fcn.004f1be1
mov dword [esp + 0x48], eax
mov ebx, dword [esp + 0x48]
cmp ebx, 0xffffffff
je 0x4da0c3
mov ebx, dword [esp + 0x48]
cmp ebx, 0xdab
je 0x4da0c3
jmp 0x4da0ca
mov eax, 1
jmp 0x4da0cc
xor eax, eax
and eax, eax
je 0x4da0e3
mov edx, 0x6fb198
lea ecx, [esp + 0x18]
call fcn.0051f008
jmp 0x4da23a
mov ebx, dword [esp + 0x48]
cmp ebx, 0xda9
jne 0x4da10e
push dword [0x7451f8]
push dword [0x7451f4]
push dword [esp + 0x18]
push 0xda2
call fcn.0050a263
jmp 0x4da235
mov ebx, dword [esp + 0x48]
cmp ebx, 0xda2
jne 0x4da1b3
mov ebx, dword [0x9ab910]
cmp ebx, 2
jne 0x4da1ae
mov ebx, dword [esp + 0x7c]
and ebx, ebx
jne 0x4da1ae
push 0xda2
call fcn.00500860
mov dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x4c]
and ebx, ebx
jl 0x4da1ae
push dword [0x9b3e20]
push dword [esp + 0x90]
push dword [esp + 0x54]
push 0xda2
call fcn.005071cf
lea eax, [esp + 0x1c]
push eax
call fcn.00559740
cmp dword [esp + 0x84], 0
je 0x4da1a9
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [esp + 0x54]
cdq
push edx
push eax
add dword [esp], 1
adc dword [esp + 4], 0
pop eax
pop edx
push edx
push eax
call fcn.005565d0
lea eax, [esp + 0x1c]
push eax
call fcn.00559740
jmp 0x4da23a
jmp 0x4da235
mov ebx, dword [esp + 0x48]
cmp ebx, 0xdaa
jne 0x4da235
push 0xda2
call fcn.00500860
mov dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x4c]
and ebx, ebx
jl 0x4da235
push dword [0x9b3e20]
push dword [esp + 0x90]
push dword [esp + 0x54]
push 0xda2
call fcn.005071cf
lea eax, [esp + 0x1c]
push eax
call fcn.00559740
cmp dword [esp + 0x84], 0
je 0x4da233
push dword [0x9b3e20]
push dword [0x9b3e20]
mov eax, dword [esp + 0x54]
cdq
push edx
push eax
add dword [esp], 1
adc dword [esp + 4], 0
pop eax
pop edx
push edx
push eax
call fcn.005565d0
lea eax, [esp + 0x1c]
push eax
call fcn.00559740
jmp 0x4da23a
jmp 0x4da08f
push 0xda2
call fcn.004ed2f2
push 0
push 0
call fcn.004f1489
mov edx, dword [esp + 0x18]
push dword [0x9b3e20]
push edx
call fcn.005597c0
pop eax
add eax, dword [0x9a36fc]
jmp 0x4da27c
push dword [esp + 0x10]
call fcn.00559820
push dword [esp + 0x18]
call fcn.00559820
push dword [esp + 0x2c]
call fcn.00559820
push dword [esp + 0x14]
call fcn.00559820
push dword [esp + 4]
call fcn.00559820
push dword [esp + 0xc]
call fcn.00559820
push dword [esp + 8]
call fcn.00559820
add esp, 0x50
pop edi
pop ebx
pop ebp
ret 0x34