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

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [esp + 0x2c]
cmp dword [esi + 0xb4], 0
je 0x4d7c15
push dword [esi]
mov eax, dword [esi + 4]
call eax
add esp, 4
mov dword [esi + 0xb4], 0
cmp dword [esi + 0xac], 0
je 0x4d7c29
mov eax, dword [esi + 0xd0]
pop esi
add esp, 0x24
ret
push esi
call fcn.004d53c0
add esp, 4
test eax, eax
jne 0x4d7fff
push ebx
push ebp
push edi
mov edi, dword [esi + 0xb8]
mov eax, edi
or eax, dword [esi + 0xbc]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], edi
jne 0x4d7ce0
push dword [esi]
mov eax, dword [esi + 8]
call eax
add esp, 4
test eax, eax
je 0x4d7ff2
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.004d9390
movzx edx, word [esi + 0x1c98]
lea ebx, [esi + 0x58]
mov edi, dword [ebx]
mov ecx, edx
shr edi, 0xb
mov eax, 0x800
sub eax, ecx
imul edi, ecx
shr eax, 5
add esp, 8
add eax, edx
mov dword [esp + 0x20], ebx
mov word [esi + 0x1c98], ax
cmp edi, 0x1000000
jae 0x4d7cb6
mov ecx, ebx
shl edi, 8
call fcn.004d5260
mov dword [ebx], edi
push dword [esi]
mov eax, dword [esi + 0xc]
call eax
sub eax, dword [esi + 0x34]
movzx eax, byte [eax]
push eax
push dword [esi + 0x50]
push ebx
call fcn.004d7510
mov edi, dword [esp + 0x2c]
add esp, 0x10
dec dword [esi + 0x34]
inc edi
mov dword [esp + 0x1c], edi
jmp 0x4d7ce7
lea ebx, [esi + 0x58]
mov dword [esp + 0x20], ebx
push dword [esi]
mov eax, dword [esi + 8]
call eax
add esp, 4
test eax, eax
je 0x4d7fdf
nop dword [eax]
cmp dword [esi + 0xa4], 0
je 0x4d7d1e
push esi
call fcn.004d6e90
mov ebp, dword [esi + 0x90]
add esp, 4
mov dword [esp + 0x18], eax
jmp 0x4d7d5d
mov ecx, dword [esi + 0x18]
cmp dword [esi + 0x1c], ecx
jne 0x4d7d3c
push edi
push esi
call fcn.004d5b00
mov ebp, dword [esi + 0x90]
add esp, 8
mov dword [esp + 0x18], eax
jmp 0x4d7d5d
lea eax, [ecx + 0x5d5]
shl eax, 5
mov edx, dword [eax + esi + 8]
mov ebp, dword [eax + esi + 0xc]
lea eax, [ecx + 1]
mov dword [esp + 0x18], edx
mov dword [esi + 0x90], ebp
mov dword [esi + 0x18], eax
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x2c]
and ecx, edi
mov edi, dword [ebx]
mov dword [esp + 0x14], ecx
add ecx, 0xe4c
shl eax, 4
add eax, ecx
mov ecx, edi
shr ecx, 0xb
lea eax, [esi + eax*2]
mov dword [esp + 0x24], eax
movzx eax, word [eax]
movzx edx, ax
mov dword [esp + 0x2c], eax
imul ecx, edx
movzx eax, ax
mov dword [esp + 0x28], eax
cmp ebp, 0xffffffff
jne 0x4d8004
mov eax, 0x800
sub eax, edx
mov edx, dword [esp + 0x24]
shr eax, 5
add eax, dword [esp + 0x2c]
mov word [edx], ax
cmp ecx, 0x1000000
jae 0x4d7dce
shl ecx, 8
mov dword [esp + 0x2c], ecx
mov ecx, ebx
call fcn.004d5260
mov ecx, dword [esp + 0x2c]
push dword [esi]
mov eax, dword [esi + 0xc]
mov dword [ebx], ecx
call eax
mov ecx, dword [esp + 0x20]
mov ebp, eax
sub ebp, dword [esi + 0x34]
add esp, 4
mov eax, dword [esi + 0x50]
shl ecx, 8
movzx edx, byte [ebp - 1]
add edx, ecx
mov ecx, dword [esi + 0x94]
and edx, dword [esi + 0x48]
shl edx, cl
lea ecx, [edx + edx*2]
mov edx, dword [esi + 0x2c]
lea eax, [eax + ecx*2]
mov cl, byte [ebp]
mov dword [esp + 0x24], eax
movzx edi, cl
movzx eax, byte [edx + 0x5cad74]
mov dword [esi + 0x2c], eax
cmp edx, 7
jae 0x4d7e2f
push edi
push dword [esp + 0x28]
push ebx
call fcn.004d7510
add esp, 0xc
jmp 0x4d7eff
sub ebp, dword [esi + 0x38]
mov esi, dword [esp + 0x20]
movzx ebx, byte [ebp]
mov ebp, 0x100
mov edx, dword [esi]
or edi, ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ebp
nop dword [eax + eax]
add ebx, ebx
shr edx, 0xb
mov eax, edi
mov dword [esp + 0x28], ebx
shr eax, 8
mov ecx, ebp
and ecx, ebx
add ecx, ebp
add eax, ecx
mov ecx, dword [esp + 0x24]
lea ebp, [ecx + eax*2]
mov ecx, edi
add edi, edi
shr ecx, 7
mov dword [esp + 0x2c], edi
and ecx, 1
xor edi, ebx
mov eax, ecx
movzx ebx, word [ebp]
not edi
and dword [esp + 0x10], edi
neg eax
and dword [esp + 0x14], eax
mov edi, ebx
imul edx, edi
and eax, edx
sub dword [esp + 0x14], eax
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
dec ecx
mov eax, ecx
and ecx, 0x7e1
sub ecx, edi
and eax, edx
mov edx, dword [esp + 0x14]
add ecx, 0x1f
sar ecx, 5
add edx, eax
add ecx, ebx
mov dword [esp + 0x14], edx
mov word [ebp], cx
cmp edx, 0x1000000
jae 0x4d7ede
shl edx, 8
mov ecx, esi
mov dword [esp + 0x14], edx
call fcn.004d5260
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
cmp edi, 0x10000
jb 0x4d7e50
mov esi, dword [esp + 0x38]
lea ebx, [esi + 0x58]
mov dword [ebx], edx
lea eax, [esi + 0x34]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
add edi, ecx
sub dword [eax], ecx
mov dword [esp + 0x1c], edi
jne 0x4d7d00
cmp dword [esi + 0xa4], 0
jne 0x4d7f96
cmp dword [esi + 0xc0], 0x40
lea edi, [esi + 0x548]
jb 0x4d7f5f
push esi
call fcn.004d5420
push esi
call fcn.004d5760
mov ecx, dword [esi + 0x9c]
lea eax, [esi + 0x2298]
add esp, 8
mov edx, 1
shl edx, cl
lea ecx, [esi + 0x3298]
push edi
push eax
call fcn.004d50e0
cmp dword [esi + 0xc4], 0
jg 0x4d7f92
mov ecx, dword [esi + 0x9c]
lea eax, [esi + 0x2698]
push edi
mov edx, 1
mov dword [esi + 0xc4], 0x40
shl edx, cl
lea ecx, [esi + 0x769c]
push eax
call fcn.004d50e0
mov edi, dword [esp + 0x1c]
push dword [esi]
mov eax, dword [esi + 8]
call eax
add esp, 4
test eax, eax
je 0x4d7fdf
mov edx, dword [esp + 0x3c]
mov eax, edi
sub eax, dword [esp + 0x30]
test edx, edx
je 0x4d8731
add eax, 0x92c
cmp eax, dword [esp + 0x40]
jae 0x4d7fdf
mov ecx, dword [esi + 0x80]
sub ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x68]
add ecx, dword [esi + 0x70]
add eax, 0x4000
add eax, ecx
cmp eax, edx
jb 0x4d7d00
mov eax, edi
sub eax, dword [esp + 0x30]
add dword [esi + 0xb8], eax
adc dword [esi + 0xbc], 0
push edi
push esi
call fcn.004d5aa0
add esp, 8
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x24
ret
xor eax, eax
sub edi, ecx
add dword [esi + 0x60], ecx
adc eax, dword [esi + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [esp + 0x28]
shr edx, 5
sub eax, edx
mov edx, dword [esp + 0x24]
mov word [edx], ax
cmp edi, 0x1000000
jae 0x4d8033
mov ecx, ebx
shl edi, 8
call fcn.004d5260
mov eax, dword [esi + 0x2c]
mov ecx, edi
add eax, 0xe1c
shr ecx, 0xb
lea eax, [esi + eax*2]
mov dword [esp + 0x24], eax
movzx eax, word [eax]
movzx edx, ax
imul ecx, edx
mov dword [esp + 0x2c], eax
movzx eax, ax
cmp ebp, 4
jae 0x4d829b
sub edi, ecx
add dword [esi + 0x60], ecx
adc dword [esi + 0x64], 0
shr edx, 5
sub eax, edx
mov edx, dword [esp + 0x24]
mov word [edx], ax
cmp edi, 0x1000000
jae 0x4d8087
mov ecx, ebx
shl edi, 8
call fcn.004d5260
mov eax, dword [esi + 0x2c]
mov ecx, edi
add eax, 0xe28
shr ecx, 0xb
lea eax, [esi + eax*2]
mov dword [esp + 0x24], eax
movzx eax, word [eax]
movzx edx, ax
imul ecx, edx
mov dword [esp + 0x2c], eax
movzx eax, ax
test ebp, ebp
jne 0x4d8141
mov eax, 0x800
mov edi, ecx
sub eax, edx
mov edx, dword [esp + 0x24]
shr eax, 5
add eax, dword [esp + 0x2c]
mov word [edx], ax
cmp ecx, 0x1000000
jae 0x4d80dc
mov ecx, ebx
shl edi, 8
call fcn.004d5260
mov eax, dword [esi + 0x2c]
shl eax, 4
add eax, dword [esp + 0x14]
movzx edx, word [esi + eax*2 + 0x1e18]
lea ebp, [esi + eax*2]
mov eax, edi
mov ecx, edx
shr eax, 0xb
imul eax, ecx
cmp dword [esp + 0x18], 1
je 0x4d811c
sub edi, eax
add dword [esi + 0x60], eax
adc dword [esi + 0x64], 0
shr ecx, 5
sub edx, ecx
mov word [ebp + 0x1e18], dx
jmp 0x4d824a
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add word [ebp + 0x1e18], ax
mov eax, dword [esi + 0x2c]
movzx eax, byte [eax + 0x5cad98]
mov dword [esi + 0x2c], eax
jmp 0x4d824a
sub edi, ecx
add dword [esi + 0x60], ecx
adc dword [esi + 0x64], 0
shr edx, 5
sub eax, edx
mov edx, dword [esp + 0x24]
mov word [edx], ax
cmp edi, 0x1000000
jae 0x4d8168
mov ecx, ebx
shl edi, 8
call fcn.004d5260
mov eax, dword [esi + 0x2c]
add eax, 0xe34
movzx edx, word [esi + eax*2]
lea eax, [esi + eax*2]
mov dword [esp + 0x24], eax
mov eax, edi
movzx ecx, dx
shr eax, 0xb
imul eax, ecx
mov dword [esp + 0x2c], edx
movzx edx, dx
cmp ebp, 1
jne 0x4d81b1
mov edi, eax
mov eax, 0x800
sub eax, ecx
mov ecx, dword [esp + 0x24]
shr eax, 5
add eax, dword [esp + 0x2c]
mov word [ecx], ax
mov ecx, dword [esi + 0x3c]
jmp 0x4d8241
sub edi, eax
add dword [esi + 0x60], eax
adc dword [esi + 0x64], 0
shr ecx, 5
sub edx, ecx
mov ecx, dword [esp + 0x24]
mov word [ecx], dx
cmp edi, 0x1000000
jae 0x4d81d8
mov ecx, ebx
shl edi, 8
call fcn.004d5260
mov eax, dword [esi + 0x2c]
movzx ecx, word [esi + eax*2 + 0x1c80]
lea edx, [esi + eax*2]
movzx ebx, word [edx + 0x1c80]
mov eax, edi
shr eax, 0xb
imul eax, ecx
mov dword [esp + 0x2c], ebx
lea ebx, [esi + 0x58]
cmp ebp, 2
jne 0x4d8219
mov edi, eax
mov eax, 0x800
sub eax, ecx
shr eax, 5
add word [edx + 0x1c80], ax
mov ecx, dword [esi + 0x40]
jmp 0x4d823b
sub edi, eax
add dword [esi + 0x60], eax
mov eax, dword [esp + 0x2c]
adc dword [esi + 0x64], 0
shr ecx, 5
sub eax, ecx
mov word [edx + 0x1c80], ax
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x40]
mov dword [esi + 0x44], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], ecx
cmp edi, 0x1000000
jae 0x4d825c
mov ecx, ebx
shl edi, 8
call fcn.004d5260
mov eax, dword [esp + 0x18]
mov dword [ebx], edi
cmp eax, 1
je 0x4d7eff
push dword [esp + 0x14]
add eax, 0xfffffffe
push eax
lea eax, [esi + 0x2698]
push ebx
push eax
call fcn.004d7280
mov eax, dword [esi + 0x2c]
add esp, 0x10
dec dword [esi + 0xc4]
movzx eax, byte [eax + 0x5cad8c]
mov dword [esi + 0x2c], eax
jmp 0x4d7eff
mov eax, 0x800
sub eax, edx
mov edx, dword [esp + 0x24]
shr eax, 5
add eax, dword [esp + 0x2c]
mov word [edx], ax
cmp ecx, 0x1000000
jae 0x4d82ca
shl ecx, 8
mov dword [esp + 0x2c], ecx
mov ecx, ebx
call fcn.004d5260
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x2c]
push dword [esp + 0x14]
mov dword [ebx], ecx
movzx eax, byte [eax + str._a_a_a_a_a_a_a_n_n_n_n_n_b_b_b_b_b_b_b_v_v_v_v_v_t_t_t_t_t_t_t_v_v_v_v_v]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffffe
push eax
lea eax, [esi + 0x2298]
push ebx
push eax
call fcn.004d7280
mov eax, dword [esi + 0x40]
sub ebp, 4
mov dword [esi + 0x44], eax
add esp, 0x10
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0x3c], eax
lea eax, [ebp + 1]
mov dword [esi + 0x38], eax
mov eax, ebp
inc dword [esi + 0xc0]
mov dword [esp + 0x14], ebp
cmp ebp, 0x80
jae 0x4d8331
and eax, 0x7f
movzx edi, byte [eax + esi + 0x2a98]
jmp 0x4d834c
cmp ebp, 0x20000
sbb ecx, ecx
and ecx, 0xfffffff6
add ecx, 0x10
shr eax, cl
movzx eax, byte [eax + esi + 0x2a98]
lea edi, [eax + ecx*2]
mov edx, dword [ebx]
mov eax, 3
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x24], edi
add edi, 0x40
cmp ebx, 5
mov dword [esp + 0x10], edx
lea ecx, [ebx - 2]
cmovb eax, ecx
shl eax, 7
lea ecx, [eax + 0x1f98]
add ecx, esi
mov dword [esp + 0x28], ecx
jmp 0x4d8384
mov edx, dword [esp + 0x10]
mov eax, edi
shr edx, 0xb
shr eax, 6
movzx ebx, word [ecx + eax*2]
lea ebp, [ecx + eax*2]
mov ecx, edi
add edi, edi
shr ecx, 5
and ecx, 1
mov dword [esp + 0x2c], edi
mov eax, ecx
mov edi, ebx
imul edx, edi
neg eax
and dword [esp + 0x10], eax
and eax, edx
sub dword [esp + 0x10], eax
add dword [esi + 0x60], eax
adc dword [esi + 0x64], 0
dec ecx
mov eax, ecx
and ecx, 0x7e1
sub ecx, edi
and eax, edx
add dword [esp + 0x10], eax
add ecx, 0x1f
sar ecx, 5
add ecx, ebx
lea ebx, [esi + 0x58]
mov word [ebp], cx
mov ebp, dword [esp + 0x10]
cmp ebp, 0x1000000
jae 0x4d83f5
shl ebp, 8
mov ecx, ebx
mov dword [esp + 0x10], ebp
call fcn.004d5260
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
cmp edi, 0x1000
jb 0x4d8380
mov edi, dword [esp + 0x14]
lea eax, [esi + 0x34]
mov dword [ebx], ebp
cmp edi, 4
jb 0x4d7f02
mov edx, dword [esp + 0x24]
mov eax, edx
shr eax, 1
dec eax
mov dword [esp + 0x2c], eax
cmp edi, 0x80
jae 0x4d84e4
and edx, 1
mov ecx, eax
or edx, 2
mov eax, 1
shl edx, cl
add edx, 0x10cc
mov dword [esp + 0x10], eax
lea edx, [esi + edx*2]
mov dword [esp + 0x24], edx
movzx ebx, word [edx + eax*2]
mov ecx, edi
and ecx, 1
shr edi, 1
mov edx, ebp
mov dword [esp + 0x28], ecx
neg ecx
shr edx, 0xb
and ebp, ecx
mov dword [esp + 0x14], edi
mov edi, ebx
imul edx, edi
and ecx, edx
sub ebp, ecx
add dword [esi + 0x60], ecx
mov ecx, dword [esp + 0x28]
adc dword [esi + 0x64], 0
dec ecx
mov eax, ecx
and ecx, 0x7e1
and eax, edx
sub ecx, edi
mov edx, dword [esp + 0x24]
add ecx, 0x1f
add ebp, eax
sar ecx, 5
mov eax, dword [esp + 0x10]
add ecx, ebx
lea ebx, [esi + 0x58]
mov word [edx + eax*2], cx
cmp ebp, 0x1000000
jae 0x4d84c4
mov ecx, ebx
shl ebp, 8
call fcn.004d5260
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x14]
add eax, eax
or eax, dword [esp + 0x28]
sub dword [esp + 0x2c], 1
mov dword [esp + 0x10], eax
jne 0x4d8454
mov dword [ebx], ebp
jmp 0x4d7eff
mov ecx, 0x20
mov edx, edi
sub ecx, eax
or edx, 0xf
shl edx, cl
mov eax, edx
shr ebp, 1
shr eax, 0x1f
neg eax
and eax, ebp
add dword [esi + 0x60], eax
mov eax, dword [esi + 0x60]
adc dword [esi + 0x64], 0
add edx, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x64]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
cmp ebp, 0x1000000
jae 0x4d853c
mov ecx, ebx
shl ebp, 8
call fcn.004d5260
mov eax, dword [esi + 0x60]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x64]
mov dword [esp + 0x28], eax
cmp edx, 0xf0000000
jne 0x4d84f2
movzx ebx, word [esi + 0x1c1a]
mov eax, edi
and eax, 1
shr edi, 1
mov edx, ebp
mov dword [esp + 0x14], edi
shr edx, 0xb
mov edi, ebx
imul edx, edi
mov ecx, eax
neg ecx
mov dword [esp + 0x24], eax
and ebp, ecx
xor eax, eax
and ecx, edx
sub ebp, ecx
add ecx, dword [esp + 0x2c]
mov dword [esi + 0x60], ecx
adc eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
dec ecx
mov dword [esi + 0x64], eax
mov eax, ecx
and ecx, 0x7e1
sub ecx, edi
and eax, edx
add ecx, 0x1f
add ebp, eax
sar ecx, 5
add ecx, ebx
mov word [esi + 0x1c1a], cx
cmp ebp, 0x1000000
jae 0x4d85b3
lea ecx, [esi + 0x58]
shl ebp, 8
call fcn.004d5260
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
add edx, 2
mov ecx, eax
mov dword [esp + 0x2c], edx
and ecx, 1
shr eax, 1
mov dword [esp + 0x14], eax
mov eax, ecx
movzx ebx, word [esi + edx*2 + 0x1c18]
neg eax
mov edx, ebp
mov dword [esp + 0x28], ecx
mov edi, ebx
shr edx, 0xb
imul edx, edi
and ebp, eax
and eax, edx
sub ebp, eax
add dword [esi + 0x60], eax
adc dword [esi + 0x64], 0
dec ecx
mov eax, ecx
and ecx, 0x7e1
sub ecx, edi
and eax, edx
mov edi, dword [esp + 0x2c]
add ecx, 0x1f
sar ecx, 5
add ebp, eax
add ecx, ebx
mov word [esi + edi*2 + 0x1c18], cx
cmp ebp, 0x1000000
jae 0x4d862a
lea ecx, [esi + 0x58]
shl ebp, 8
call fcn.004d5260
mov eax, dword [esp + 0x28]
lea edx, [eax + edi*2]
mov eax, dword [esp + 0x14]
movzx ebx, word [esi + edx*2 + 0x1c18]
mov ecx, eax
and ecx, 1
shr eax, 1
mov dword [esp + 0x2c], edx
mov edi, ebx
mov edx, ebp
mov dword [esp + 0x14], eax
mov eax, ecx
shr edx, 0xb
imul edx, edi
neg eax
and ebp, eax
mov dword [esp + 0x28], ecx
and eax, edx
sub ebp, eax
add dword [esi + 0x60], eax
adc dword [esi + 0x64], 0
dec ecx
mov eax, ecx
and ecx, 0x7e1
sub ecx, edi
and eax, edx
mov edi, dword [esp + 0x2c]
add ecx, 0x1f
sar ecx, 5
add ebp, eax
add ecx, ebx
mov dword [esp + 0x10], ebp
mov word [esi + edi*2 + 0x1c18], cx
cmp ebp, 0x1000000
jae 0x4d86a9
shl ebp, 8
lea ecx, [esi + 0x58]
mov dword [esp + 0x10], ebp
call fcn.004d5260
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edx, ecx
and dword [esp + 0x14], 1
shr edx, 0xb
lea eax, [eax + edi*2]
movzx ebx, word [esi + eax*2 + 0x1c18]
lea ebp, [esi + eax*2]
mov eax, dword [esp + 0x14]
mov edi, ebx
imul edx, edi
neg eax
and ecx, eax
and eax, edx
sub ecx, eax
add dword [esi + 0x60], eax
mov dword [esp + 0x10], ecx
adc dword [esi + 0x64], 0
mov ecx, dword [esp + 0x14]
dec ecx
mov eax, ecx
and ecx, 0x7e1
sub ecx, edi
and eax, edx
mov edx, dword [esp + 0x10]
add ecx, 0x1f
sar ecx, 5
add edx, eax
add ecx, ebx
mov word [ebp + 0x1c18], cx
cmp edx, 0x1000000
jae 0x4d7efa
shl edx, 8
lea ebx, [esi + 0x58]
mov ecx, ebx
mov dword [esp + 0x10], edx
call fcn.004d5260
mov edx, dword [esp + 0x10]
jmp 0x4d7efd
cmp eax, 0x20000
jb 0x4d7d00
add dword [esi + 0xb8], eax
push esi
adc dword [esi + 0xbc], 0
call fcn.004d53c0
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x24
ret